Description Usage Arguments Details Value Author(s) References See Also Examples
network.size
returns the order of its argument (i.e., number of vertices).
1 | network.size(x)
|
x |
an object of class |
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). http://www.jstatsoft.org/v24/i02/
1 2 3 | #Initialize a network
g<-network.initialize(7)
network.size(g)
|
network: Classes for Relational Data
Version 1.14-377 created on 2019-03-04.
copyright (c) 2005, Carter T. Butts, University of California-Irvine
Mark S. Handcock, University of California -- Los Angeles
David R. Hunter, Penn State University
Martina Morris, University of Washington
Skye Bender-deMoll, University of Washington
For citation information, type citation("network").
Type help("network-package") to get started.
[1] 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.