| odegrange-ergmTerm {ergm} | R Documentation |
Out-degree range
Description
This term adds one
network statistic to the model for each element of from (or to ); the i th
such statistic equals the number of nodes in the network of out-degree
greater than or equal to
from[i] but strictly less than to[i] , i.e. with
out-edge count
in semiopen interval [from,to) .
This term can only be used with directed networks; for undirected
networks (bipartite and not)
see degrange . For degrees of specific modes of bipartite
networks, see b1degrange and b2degrange . For
in-degrees, see idegrange .
Usage
# binary: odegrange(from, to=+Inf, by=NULL, homophily=FALSE, levels=NULL)
Arguments
from, to |
vectors of distinct integers. If one of the vectors have length 1, it is recycled to the length of the other. Otherwise, it must have the same length. |
by, levels, homophily |
the optional argument |
attr |
a vertex attribute specification (see Specifying Vertex attributes and Levels ( |
See Also
ergmTerm for index of model terms currently visible to the package.
Keywords
categorical nodal attribute, directed, binary