Learn R Programming

tergm (version 4.2.1)

degree.mean.age-ergmTerm: Average age of ties incident on nodes having a given degree

Description

Average age of ties incident on nodes having a given degree

Usage

# binary: degree.mean.age(d, byarg=NULL, emptyval=0)

Arguments

d

a vector of distinct integers

byarg

specifies a vertex attribute (see Specifying Vertex attributes and Levels (?nodal_attributes) for details.). If specified, then separate degree statistics are calculated for nodes having each separate value of the attribute.

emptyval

can be used to specify the value returned if the network does not have any actors with degree in the specified range. This is, technically, an arbitrary value, but it should not have a substantial effect unless a non-negligible fraction of networks at the parameter configuration of interest has no actors with specified degree.

Details

This term adds one network statistic to the model for each element in d ; the \(i\) th such statistic equals the average, among all ties incident on nodes with degree exactly d[i] , of the amount of time elapsed since the tie's formation. The optional argument byarg specifies a vertex attribute (see Specifying Vertex Attributes and Levels for details). If specified, then separate degree statistics are calculated for nodes having each separate value of the attribute.

See Also

ergmTerm for index of model terms currently visible to the package.

ergm:::.formatTermKeywords("ergmTerm", "degree.mean.age", "subsection")