degreedist {ergm}R Documentation

Computes and Returns the Degree Distribution Information for a Given Network

Description

The degreedist function computes and returns the degree distribution (number of vertices in the network with each degree value) for a given network.

The degreedistfactor function returns the cross table of the degree distribution for a network and a given factor (vertex attribute name)

Usage

degreedist(g, print = TRUE)

Arguments

g

a network object

print

logical, whether to print the degree distribution; default=TRUE

Details

Calculates the degrees using the appropriate ergm terms for for network type.

Value

Examples

data(faux.mesa.high)
degreedist(faux.mesa.high)

[Package ergm version 3.4.0 Index]