Learn R Programming

ergm (version 4.3.2)

b1star-ergmTerm: \(k\)-stars for the first mode in a bipartite network

Description

This term adds one network statistic to the model for each element in k . The \(i\) th such statistic counts the number of distinct k[i] -stars whose center node is in the first mode of the network. The first mode of a bipartite network object is sometimes known as the "actor" mode. A \(k\) -star is defined to be a center node \(N\) and a set of \(k\) different nodes \(\{O_1, \dots, O_k\}\) such that the ties \(\{N, O_i\}\) exist for \(i=1, \dots, k\). If args is specified then the count is over the number of \(k\)-stars (with center node in the first mode) where all nodes have the same value of the attribute. This term can only be used for undirected bipartite networks.

Usage

# binary: b1star(k, attr=NULL, levels=NULL)

Arguments

k

a vector of distinct integers

attr

a vertex attribute specification (see Specifying Vertex attributes and Levels (?nodal_attributes) for details.)

levels

TODO (See Specifying Vertex attributes and Levels (?nodal_attributes) for details.)

See Also

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

ergm:::.formatTermKeywords("ergmTerm", "b1star", "subsection")