b1twostar-ergmTerm {ergm} | R Documentation |
Two-star census for central nodes centered on the first mode of a bipartite network
Description
This term takes two nodal attributes. Assuming that there are
values of
b1attr
among the b1 nodes and
values of
b2attr
among the b2 nodes, then the total number of
distinct categories of two stars according to these two attributes is
. By default, this model term creates a distinct statistic
counting each of these categories.
Usage
# binary: b1twostar(b1attr, b2attr, base=NULL, b1levels=NULL, b2levels=NULL, levels2=NULL)
Arguments
b1attr |
b1 nodes (actors in some contexts) (see Specifying Vertex attributes and Levels ( |
b2attr |
b2 nodes (events in some contexts). If |
b1levels , b2levels , base , levels2 |
used to leave some of the categories out (see Specifying Vertex attributes and Levels ( |
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
.
The argument base
is retained for backwards compatibility and may be
removed in a future version. When both base
and levels2
are passed,
levels2
overrides base
.
See Also
ergmTerm
for index of model terms currently visible to the package.
Keywords
bipartite, categorical nodal attribute, undirected, binary