Re: [R] how to get degree according to the name of the node?

2008-12-30 Thread Dieter Menne
Weijia You gmail.com> writes: > 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

[R] how to get degree according to the name of the node?

2008-12-28 Thread Weijia You
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