See http://igraph.org/r/doc/structure.info.html
Gabor On Thu, Jun 12, 2014 at 3:54 PM, Qunawei Zhang <[email protected]> wrote: > Hello: > > I am using the R package to do some analysis on networks. After I input the > network (saved as "my_network"), I can see the number of nodes and edges > just by typing "my_network"(please see below for example). > >>my_network > IGRAPH UN-- 7865 24368 -- > + attr: name (v/c) > > But how can I get the number "7865" and "24368" by writing some R codes? > Since I have many networks, I don't want to get the numbers manually for > each network. > Thanks > > Best > Quanwei > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
