nsp-ergmTerm | R Documentation |

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.

# binary: nsp(d)

`d` |
a vector of distinct integers |

For directed networks, only outgoing two-path ("OTP") shared partners
are counted. In other words, for a (directed) non-edge `(i,j)`

in a directed graph, the number of
shared partners counted by `nsp`

is the number of nodes `k`

that have edges
`i -> k -> j`

. (These may also be called homogeneous shared partners.) To
count other types of shared partners instead, see `dnsp`

.

`ergmTerm`

for index of model terms currently visible to the package.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.