R: Degree for the first mode in a bipartite network

b1degree-ergmTerm {ergm} | R Documentation

## Degree for the first mode in a bipartite network

### Description

This term adds one network statistic to the model for each element in `d` ; the ith such statistic equals the number of nodes of degree `d[i]` in the first mode of a bipartite network, i.e. with exactly `d[i]` edges. The first mode of a bipartite network object is sometimes known as the "actor" mode.

### Usage

    # binary: b1degree(d, by=NULL, levels=NULL)

### Arguments

`d` | a vector of distinct integers.
`by` | a vertex attribute (see Specifying Vertex attributes and Levels (`?nodal_attributes`) for details). If this is specified then each node's degree is tabulated only with other nodes having the same value of the `by` attribute.
`levels` | TODO (See Specifying Vertex attributes and Levels (`?nodal_attributes`) for details.)

### Note

This term can only be used with undirected bipartite networks.

### See Also

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

[Package ergm version 4.2.2 Index]