This node represents a variable of interest in the AST. A variable's name
is recorded in the value field, and must conform to the rules of identifiers
in R. This class inherits from
A string containing the variable identifier
A format string that is either a string containing a number representing significant digits for output, or a C-style printf string.
A string that represents the type specifier for that variable
new(identifier, format=NA, type=NA)
This method creates an AST node representing a variable of a given identifier. An optional format consisting of a string of a number or a c-style printf string. An option type denoting a forced type cast of that variable.
Returns the node
Applies the distributive property to the node, and returns the resulting node.
Returns the string formula of the node
Return a human representation of a node
Given a set of data, perform the logical reduction of the current node.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.