ergm_LayerLogic function

Internal representation of Layer Logic

Internal representation of Layer Logic

ergm_LayerLogic(formula, namemap = NULL) ## S3 method for class 'ergm_LayerLogic' toString(x, ...) ## S3 method for class 'ergm_LayerLogic' to_ergm_Cdouble(x, ...)

Arguments

  • formula: A Layer Logic formula.
  • namemap: A character vector giving the names of the layers referenced, or NULL.
  • x: An ergm_LayerLogic object.
  • ...: Additional arguments, currently unused.

Returns

A structure with nonce class c("ergm_LayerLogic",class(formula)), comprising the input formula and an attribute namemap containing the namemap.

Methods (by generic)

  • toString(ergm_LayerLogic): A method to generate coefficient names associated with the Layer Logic.
  • to_ergm_Cdouble(ergm_LayerLogic): A method to encode and serialize the Layer Logic into a postfix program understood by the C code.
  • Maintainer: Pavel N. Krivitsky
  • License: GPL-3 + file LICENSE
  • Last published: 2024-11-05