attrs
is the rows of the mixing matrix and whose RHS gives
that for its columns. A one-sided formula (e.g.,
~A
) is symmetrized (e.g., A~A
). A two-sided formula with a dot on one side
calculates the margins of the mixing matrix, analogously to nodefactor
, with
A~.
calculating the row/sender/b1 margins and .~A
calculating the column/receiver/b2 margins.
# binary: mm(attrs, levels=NULL, levels2=-1)# valued: mm(attrs, levels=NULL, levels2=-1, form="sum")
a two-sided formula whose LHS gives the attribute or
attribute function (see Specifying Vertex attributes and Levels (?nodal_attributes
) for details.) for the rows of the mixing matrix and whose RHS gives
for its columns. A one-sided formula (e.g., ~A
) is symmetrized (e.g., A~A
)
subset of rows and columns to be used. (See Specifying Vertex
attributes and Levels (?nodal_attributes
) for details.)
which specific cells of the matrix to include
character how to aggregate tie values in a valued ERGM
ergmTerm
for index of model terms currently visible to the package.
ergm:::.formatTermKeywords("ergmTerm", "mm", "subsection")