degree-ergmTerm | R Documentation |
This term adds one
network statistic to the model for each element in d
; the i
th
such statistic equals the number of nodes in the network of degree
d[i]
, i.e. with exactly d[i]
edges.
This term can only be used with undirected networks; for directed networks
see idegree
and odegree
.
# binary: degree(d, by=NULL, homophily=FALSE, levels=NULL)
d |
vector of distinct integers |
by , levels , homophily |
the optional argument |
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.