Learn R Programming

DSLite (version 1.4.0)

FormulaNode: Formula AST node

Description

AST node that reprsents a formula (such as NAME ~ terms).

Arguments

Super class

DSLite::Node -> FormulaNode

Methods

Inherited methods


Method add_child()

Two children

Usage

FormulaNode$add_child(val)

Arguments

val

Child Node


Method to_string()

Get the string representation of the BinaryOpNode

Usage

FormulaNode$to_string()


Method clone()

The objects of this class are cloneable with this method.

Usage

FormulaNode$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

Other parser items: BinaryOpNode, FunctionNode, GroupNode, Node, NumericNode, ParameterNode, RangeNode, StringNode, SymbolNode, UnaryOpNode