degreedist | R Documentation |
The degreedist
generic computes and returns the degree
distribution (number of vertices in the network with each degree
value) for a given network. This help page documents the
function. For help about the ERGM sample space constraint with that name, try
help("degreedist-constraint")
.
degreedist(object, ...)
## S3 method for class 'network'
degreedist(object, print = TRUE, ...)
object |
a |
... |
Additional arguments to functions. |
print |
logical, whether to print the degree distribution. |
If directed, a matrix of the distributions of in and out degrees; this is row bound and only contains degrees for which one of the in or out distributions has a positive count. If bipartite, a list containing the degree distributions of b1 and b2. Otherwise, a vector of the positive values in the degree distribution
degreedist(network)
: Method for network
objects.
data(faux.mesa.high)
degreedist(faux.mesa.high)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.