edgecov.mean.age-ergmTerm | R Documentation |
Weighted average age of an extant tie
# binary: edgecov.mean.age(x, attrname=NULL, emptyval=0)
x , attrname |
a specification for the dyadic covariate: either one of the following, or the name of a network attribute containing one of the following:
|
emptyval |
can be used to specify the value returned if the network is empty (or all extant edges have been weighted 0). This is, technically, an arbitrary value, but it should not have a substantial effect unless a non-negligible fraction of networks at the parameter configuration of interest is empty and/or if only a few dyads have nonzero weights. |
This term adds one statistic equaling the average, over all ties present in the network, of the amount of time elapsed since formation, weighted by a (nonnegative) dyadic covariate.
The behavior when there are negative weights is undefined.
ergmTerm
for index of model terms currently visible to the package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.