InitErgmTerm.absdiffby | R Documentation |
This function defines and initializes the absdiffby ERGM term that allows for representing homophily with respect to a non-binary attribute (e.g., age) differentially by a binary attribute (e.g., sex).
InitErgmTerm.absdiffby(nw, arglist, ...)
nw |
An object of class |
arglist |
A list of arguments as specified in the |
... |
Additional data passed into the function as specified in the
|
This ERGM user term was written to allow for age-based homophily in
partnership formation that is asymmetric by sex. The absdiff
component
targets age-based homophily while the by
component allows that to be
structured by a binary attribute such as "male", in order to enforce an
offset in the average difference. This allows, for example, a average age
difference in partnerships, but with males (on average) older than females.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.