L-ergmTerm-719c792f function

Evaluation on layers

Evaluation on layers

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

# 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")

  • Maintainer: Pavel N. Krivitsky
  • License: GPL-3 + file LICENSE
  • Last published: 2024-11-05