Visualize a social network to show how often a user is mentioned in R [closed]
Given a data frame as following: v1 v2 v3 v4 v5 tom A pinky A 3 ben B hugo C 2 lily A tom A 1 ... Which denotes that v1 from group v2 has mentioned v3 from group v4 for v5 times. For instance, tom from group A has mentioned pinky from group A for 3 times. Now I'd like to plot a social network, each user denoted by a point and its size is proportional to the times he or she has been mentioned totally. And there is a line linkage two points if they have mentioned each other mutually or unilaterally. As I look into the ggplot document, I can not find any function to do it. Do you have any idea?