Average ages of extant ties of specified mixing types
# binary: nodemix.mean.age(attr, b1levels=NULL, b2levels=NULL, levels=NULL,
# levels2=NULL, emptyval=0, log=FALSE)
a vertex attribute specification (see Specifying Vertex attributes and Levels (?nodal_attributes
) for details.)
control what statistics are included in the model and the order in which they appear. levels2
apply to all networks; levels
applies to unipartite networks; b1levels
and b2levels
apply to bipartite networks (see Specifying Vertex attributes and Levels (?nodal_attributes
) for details)
can be used to specify the value returned if the network is empty. A different value may be
specified for each mixing type of attr
. The length of emptyval
should either be 1 (in which case that value
is used for every mixing type of attr
) or should be equal to the number of retained mixing types of attr
, in
which case the i
th value in emptyval
is used for the i
th retained mixing type of attr
. 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 is empty.
logical specifying if mean log age should be returned instead of mean age
This term adds one statistic for each mixing type of attr
,
equaling the average, over all ties of that mixing type,
of the amount of time elapsed since formation.
ergmTerm
for index of model terms currently visible to the package.
ergm:::.formatTermKeywords("ergmTerm", "nodemix.mean.age", "subsection")