Hi,
On Fri, Dec 4, 2009 at 3:12 AM, Gaurav Kumar gau...@gauravkumar.org wrote:
Hi R-users,
I'm using igraph for an undirected graph.
i used clusters() igraph function to know the component size(subgraphs) as
shown bellow:
c -clusters(g)
# component sizes
size - sort(c$csize,
Hi R-users,
I'm using igraph for an undirected graph.
i used clusters() igraph function to know the component size(subgraphs) as
shown bellow:
c -clusters(g)
# component sizes
size - sort(c$csize, decreasing=TRUE)
cat(Top 20 cluster of the graph,\n)
for (i in 1:20)
{
cat(i, size:,size[i]
2 matches
Mail list logo