network.size | R Documentation |
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/
get.network.attribute
#Initialize a network
g<-network.initialize(7)
network.size(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.