odegreeL-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 out-degree d[i]
, i.e. the
number of nodes with exactly d[i]
out-edges.
# binary: odegreeL(d, by=NULL, homophily=FALSE, levels=NULL)
d |
a vector of distinct integers |
by |
a character string giving the name of an attribute in the network's vertex attribute list. |
homophily |
If this is specified and |
Ls |
either a Layer Logic specification formula (c.f. Layer Logic section in the |
levels |
list of layer specifications |
This term can only be used with directed networks; for undirected networks
see degree
.
If a list of layer specifications is given, degree of a node
i
is considered to be the number of edges in all layers,
combined.
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.