network.size {network} | R Documentation |
network.size
returns the order of its argument (i.e., number of vertices).
network.size(x)
x |
an object of class network |
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. 2002. ``Memory Structures for Relational Data in R: Classes and Interfaces'' Working Paper.
#Initialize a network g<-network.initialize(7) network.size(g)