ergm_LayerLogic: Internal representation of Layer Logic

ergm_LayerLogicR Documentation

Internal representation of Layer Logic

Description

Internal representation of Layer Logic

Usage

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.

Value

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.


ergm.multi documentation built on May 29, 2024, 11:07 a.m.