Expression: constructor

ExpressionR Documentation

constructor

Description

constructor

constructor

Active bindings

parms

the parameters used int he expression

functions

the function named used int he expression

expr

the original expression

Methods

Public methods


Method new()

Usage
Expression$new(expr)
Arguments
expr

the expression to parse Perform a substitute


Method substitute()

Usage
Expression$substitute(subs)
Arguments
subs

a named list of substitutions

Details

For each name in the list, the variable with that name in the expression is replaced by the corresponding value in the list.

Returns

an expression with the substitution


Method clone()

The objects of this class are cloneable with this method.

Usage
Expression$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


junlingm/REpiSim documentation built on June 15, 2025, 7:36 a.m.