network.size.Rdnetwork.size returns the order of its argument (i.e., number of
vertices).
network.size(x, ...)The network size
network.size(x) is equivalent to get.network.attribute(x,"n");
the function exists as a convenience.
Butts, C. T. (2008). “network: a Package for Managing Relational Data in R.” Journal of Statistical Software, 24(2). doi:10.18637/jss.v024.i02
#Initialize a network
g<-network.initialize(7)
network.size(g)
#> [1] 7