b2degree-ergmTerm-20b6a8ee: Degree for the second mode in a bipartite (aka two-mode)...

b2degree-ergmTermR Documentation

Degree for the second mode in a bipartite (aka two-mode) network

Description

This term adds one network statistic to the model for each element in d ; the i th such statistic equals the number of nodes of degree d[i] in the second mode of a bipartite network, i.e. with exactly d[i] edges. The second mode of a bipartite network object is sometimes known as the "event" mode. The optional term by is a character string giving the name of an attribute in the network's vertex attribute list. This term can only be used with undirected bipartite networks.

Usage

# binary: b2degree(d, by=NULL)

Arguments

d

a vector of distinct integers

by

a character string giving the name of an attribute in the network's vertex attribute list. If this is specified then each node's degree is tabulated only with other nodes having the same value of the by attribute.

levels

if by is specified, which levels to consider.

Ls

either a Layer Logic specification formula (c.f. Layer Logic section in the Layer() documentation) or a list thereof (constructed by list() or c()). If given, degree of a node

See Also

ergmTerm for index of model terms currently visible to the package.

\Sexpr[results=rd,stage=render]{ergm:::.formatTermKeywords("ergmTerm", "b2degree", "subsection")}

ergm.multi documentation built on May 29, 2024, 11:07 a.m.