InitErgmTerm.absdiffnodemix {EpiModel} | R Documentation |
Definition for absdiffnodemix ERGM Term
Description
This function defines and initializes the absdiffnodemix ERGM term that allows for targeting homophily based on a non-binary attribute (e.g., age) by combinations of a binary attribute (e.g., race).
Usage
InitErgmTerm.absdiffnodemix(nw, arglist, ...)
Arguments
nw |
An object of class |
arglist |
A list of arguments as specified in the |
... |
Additional data passed into the function as specified in the
|
Details
This ERGM user term was written to allow for age-based homophily in
partnership formation that is heterogeneous by race. The absdiff
component targets the distribution of age mixing on that continuous
variable, and the nodemix
component differentiates this for
black-black, black-white, and white-white couples.
[Package EpiModel version 2.4.0 Index]