This term adds multiple network statistics to the model, one for each of (a subset of) the
unique values of the attr
attribute. Each of these statistics
gives the number of times a node with that attribute in the second mode of
the network appears in an edge. The second mode of a bipartite network
object is sometimes known as the "event" mode.
# binary: b2factor(attr, base=1, levels=-1)# valued: b2factor(attr, base=1, levels=-1, form="sum")
a vertex attribute specification (see Specifying Vertex attributes and Levels (?nodal_attributes
) for details.)
deprecated
this optional argument controls which levels of the attribute
attributes and Levels (?nodal_attributes
) for details.)
character how to aggregate tie values in a valued ERGM
ergmTerm
for index of model terms currently visible to the package.
ergm:::.formatTermKeywords("ergmTerm", "b2factor", "subsection")