edgecov-ergmTerm | R Documentation |
This term adds one statistic to the model, equal to the sum
of the covariate values for each edge appearing in the network. The
edgecov
term applies to both directed and undirected networks. For
undirected networks the covariates are also assumed to be undirected. The
edgecov
and dyadcov
terms are equivalent for undirected
networks.
# binary: edgecov(x, attrname=NULL)
# valued: edgecov(x, attrname=NULL, form="sum")
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:
|
form |
character how to aggregate tie values in a valued ERGM |
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.