|
From: | bfjghod jdlkajjf |
Subject: | RE: [igraph] extract network stats for a subset of nodes |
Date: | Mon, 12 Oct 2009 16:46:55 +0000 |
Hi Tamas, Thanks for the reply. That is exactly what I was looking for. Thanks again! Will > Date: Mon, 12 Oct 2009 11:07:57 +0100 > From: address@hidden > To: address@hidden > Subject: Re: [igraph] extract network stats for a subset of nodes > > Dear Will, > > I'm not an R expert, so there might be an easier way to do that, but > this seems to work: > > > g <- grg.game(100, 0.2) > > V(g)$name <- LETTERS > > degree(g, which(V(g)$name %in% c("A", "F", "X"))) > > -- > Tamas > > > _______________________________________________ > igraph-help mailing list > address@hidden > http://lists.nongnu.org/mailman/listinfo/igraph-help Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail?. |
[Prev in Thread] | Current Thread | [Next in Thread] |