b1starmix-ergmTerm {ergm} | R Documentation |
Mixing matrix for k
-stars centered on the first mode of a bipartite network
Description
This term counts all k
-stars in which
the b2 nodes (called events in some contexts) are homophilous in the sense
that they all share the same value of attr
. However, the b1 node
(in some contexts, the actor) at the center of the k
-star does NOT have to
have the same value as the b2 nodes; indeed, the values taken by the b1
nodes may be completely distinct from those of the b2 nodes, which allows
for the use of this term in cases where there are two separate nodal
attributes, one for the b1 nodes and another for the b2 nodes (in this case,
however, these two attributes should be combined to form a single nodal
attribute, attr
). A different statistic is created for each
value of attr
seen in a b1 node, even if no k
-stars are observed
with this value.
Usage
# binary: b1starmix(k, attr, base=NULL, diff=TRUE)
Arguments
k |
only a single value of |
attr |
a vertex attribute specification (see Specifying Vertex attributes and Levels ( |
base |
deprecated |
diff |
whether a different statistic is created for each value seen in a b2 node. When |
Note
The argument base
is retained for backwards compatibility and may be
removed in a future version. When both base
and levels
are passed,
levels
overrides base
.
See Also
ergmTerm
for index of model terms currently visible to the package.
Keywords
bipartite, categorical nodal attribute, undirected, binary