Description Usage Arguments Details
This function defines and initialize the absdiffby ERGM term that allows for targeting age homophily by sex.
1 | 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 asymetric by sex. The absdiff component targets age homophily while the by component allows that to be structed by a binary attribute such as "male", in order to enforce an offset in the average difference.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.