b2star-ergmTerm {ergm}R Documentation

k-Stars for the second 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 second mode of the network. The second mode of a bipartite network object is sometimes known as the "event" mode. A k -star is defined to be a center node N and a set of k different nodes {O[1], ..., O[k]} such that the ties \{N, O_i\} exist for i=1, …, k . This term can only be used for undirected bipartite networks.

Usage

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

Arguments

k

a vector of distinct integers

attr

quantitative attribute (see Specifying Vertex attributes and Levels (?nodal_attributes) for details.) then the count is over the number of k -stars (with center node in the second mode) where all nodes have the same value of the attribute.

levels

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

Note

b2star(1) is equal to b1star(1) and to edges .

See Also

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


[Package ergm version 4.2.2 Index]