Learn R Programming

ergm (version 4.3.2)

nsp-ergmTerm: Nonedgewise shared partners

Description

This is just like the dsp and esp terms, except this term adds one network statistic to the model for each element in d where the \(i\) th such statistic equals the number of non-edges (that is, dyads that do not have an edge) in the network with exactly d[i] shared partners. This term can be used with directed and undirected networks.

Usage

# binary: nsp(d)

Arguments

d

a vector of distinct integers

See Also

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

ergm:::.formatTermKeywords("ergmTerm", "nsp", "subsection")