network.size: Return the Size of a Network

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/access.R

Description

network.size returns the order of its argument (i.e., number of vertices).

Usage

1

Arguments

x

an object of class network

Details

network.size(x) is equivalent to get.network.attribute(x,"n"); the function exists as a convenience.

Value

The network size

Author(s)

Carter T. Butts [email protected]

References

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/

See Also

get.network.attribute

Examples

1
2
3
#Initialize a network
g<-network.initialize(7)
network.size(g)

network documentation built on May 30, 2017, 6:47 a.m.