Learn R Programming

ergm.multi (version 0.2.1)

L-ergmTerm: Evaluation on layers

Description

Evaluates the terms in formula on an observed or logical layers specified in formula Ls and sums the results elementwise.

Usage

# binary: L(formula, Ls=~.)

Arguments

formula

a one-sided ergm()-style formula with the terms to be evaluated

Ls

either a Layer Logic specification formula (c.f. Layer Logic section in the Layer() documentation) or a list thereof (constructed by list() or c()), on which to evaluate formula

See Also

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

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