Hi all, I have two networks for the same group of the users. I want to compare individual's degree in different networks. But how could I get the degrere of the nodes according to its name?
When I use degree(g1), I could only get a vector of the degree of each node. But when I turn to g2, I don't know whose degree it is so I can't match it with the degree(g2). Now I'm trying to make the users appearing in the edgelist in the same sequence. for example: in g1 input file A B 1 C D 2 C B 3 in g2 input file A B 0 C D 12 C B 0 If I make the two input file like this, will it help? I mean the degree vector will be exactly the same in the two graph? Thanks! [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.