idegree-ergmTerm {ergm} | R Documentation |
In-degree
Description
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 in-degree d[i]
, i.e. the number
of nodes with exactly d[i]
in-edges.
This term can only be used with directed networks; for undirected networks
see degree
.
Usage
# binary: idegree(d, by=NULL, homophily=FALSE, levels=NULL)
Arguments
d |
a vector of distinct integers |
by , levels , homophily |
the optional argument |
See Also
ergmTerm
for index of model terms currently visible to the package.
Keywords
categorical nodal attribute, directed, frequently-used, binary