smalldiff-ergmTerm | R Documentation |
This term adds one statistic, having as its
value the number of edges in the network for which the incident
actors' attribute values differ less than cutoff
; that is,
number of edges between i
to j
such that
abs(attr[i]-attr[j])<cutoff
.
# binary: smalldiff(attr, cutoff)
attr |
a vertex attribute specification (see Specifying Vertex attributes and Levels ( |
maximum |
difference in attribute values for ties to be considered |
ergmTerm
for index of model terms currently visible to the package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.