Return the Size of a Network
network.size
returns the order of its argument (i.e., number of
vertices).
network.size(x, ...)
x |
an object of class |
... |
additional arguments, not used |
network.size(x)
is equivalent to get.network.attribute(x,"n")
;
the function exists as a convenience.
The network size
Carter T. Butts buttsc@uci.edu
Butts, C. T. (2008). “network: a Package for Managing Relational Data in R.” Journal of Statistical Software, 24(2). https://www.jstatsoft.org/v24/i02/
#Initialize a network g<-network.initialize(7) network.size(g)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.