This function defines and initialize the absdiffby ERGM term that allows for targeting age homophily by sex.
InitErgmTerm.absdiffby(nw, arglist, ...)
An object of class network
.
A list of arguments as specified in the ergm.userterms
package framework.
Additional data passed into the function as specified in the
ergm.userterms
package framework.
Samuel M. Jenness
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.