[R] Number of edges in a graph
kparamas
kparamas at asu.edu
Mon Mar 21 06:02:10 CET 2011
Hi,
I have a igraph graph object.
g <- watts.strogatz.game(1, 100, 5, 0.05)
If I have the summary of g, it prints
> summary(g)
Vertices: 100
Edges: 500
Directed: FALSE
No graph attributes.
No vertex attributes.
No edge attributes.
How to print only the number of edges in g?
--
View this message in context: http://r.789695.n4.nabble.com/Number-of-edges-in-a-graph-tp3392633p3392633.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list