R: Mixing matrix for k-stars centered on the second mode of a...

b2starmix-ergmTerm {ergm} | R Documentation

## Mixing matrix for k-stars centered on the second mode of a bipartite network

### Description

This term is exactly the same as `b1starmix` except that the roles of b1 and b2 are reversed.

### Usage

    # binary: b2starmix(k, attr, base=NULL, diff=TRUE)

### Arguments

`k` | only a single value of k is allowed
`attr` | quantitative attribute (see Specifying Vertex attributes and Levels (`?nodal_attributes`) for details.)
`base` | deprecated
`diff` | whether a different statistic is created for each value seen in a b1 node. When `diff=TRUE`, the default, a different statistic is created for each value and thus the behavior of this term is reminiscent of the `nodemix` term, from which it takes its name; when `diff=FALSE` , all homophilous k-stars are counted together, though these k-stars are still categorized according to the value of the central b1 node.

### 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.

[Package ergm version 4.2.1 Index]