Learn R Programming

ergm.multi (version 0.2.1)

ergm_LayerLogic: Internal representation of Layer Logic

Description

Internal representation of Layer Logic

Usage

ergm_LayerLogic(formula, namemap = NULL)

# S3 method for ergm_LayerLogic toString(x, ...)

# S3 method for ergm_LayerLogic to_ergm_Cdouble(x, ...)

Value

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

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.

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.