Average age of ties incident on nodes having degree in a given range
# binary: degrange.mean.age(from, to=+Inf, byarg=NULL, emptyval=0)
vectors of distinct
integers or +Inf
, for to
. If one of the vectors has
length 1, it is recycled to the length of the other. Otherwise, they
must have the same length.
specifies a vertex attribute (see Specifying Vertex attributes and Levels (?nodal_attributes
) for details.). If specified, then separate degree
statistics are calculated for nodes having each separate
value of the attribute.
can be used to specify the value returned if the network does not have any actors with degree in the specified range. This is, technically, an arbitrary value, but it should not have a substantial effect unless a non-negligible fraction of networks at the parameter configuration of interest has no actors with specified degree.
This term adds one
network statistic to the model for each element of from
(or to
); the \(i\) th
such statistic equals the average, among all ties incident on nodes
with degree greater than or equal to
from[i]
but strictly less than to[i]
, of the amount of time elapsed
since the tie's formation. The optional argument
ergmTerm
for index of model terms currently visible to the package.
ergm:::.formatTermKeywords("ergmTerm", "degrange.mean.age", "subsection")