This term adds one network statistic to the model equaling
the sum of abs(attr[i]-attr[j])^pow
for all edges (i,j)
in
the network.
# binary: absdiff(attr,
# pow=1)# valued: absdiff(attr,
# pow=1,
# form="sum")
a vertex attribute specification (see Specifying Vertex attributes and Levels (?nodal_attributes
) for details.)
power to which to take the absolute difference
character how to aggregate tie values in a valued ERGM
ergmTerm
for index of model terms currently visible to the package.
ergm:::.formatTermKeywords("ergmTerm", "absdiff", "subsection")