Learn R Programming

ergm.multi (version 0.3.0)

b2dspL-ergmTerm: Dyadwise shared partners for dyads in the second bipartition on layers

Description

This term adds one network statistic to the model for each element in d ; the \(i\) th such statistic equals the number of dyads in the second bipartition with exactly d[i] shared partners. (Those shared partners, of course, must be members of the first bipartition.) This term can only be used with bipartite networks.

Usage

# binary: b2dspL(d, Ls.path=NULL)

Arguments

d

a vector of distinct integers

Ls.path, L.in_order

a vector of one or two formulas Ls.path provides the Layer Logic (c.f. Layer Logic section in the Layer() documentation) specifications for the ties of the 2-path or the shared partnership. (If only one formula is given the layers are assumed to be the same.) If L.in_order==TRUE , the first tie of the two-path must be the first element of Ls.path and the second must be the second; otherwise, any ordering counts, provided there is exactly one of each. (For types "OSP" and "ISP" , the first tie is considered to be the one incident on the tail of the base tie.)

See Also

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

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