ASTBranch | R Documentation |
A left/right branch in an Abstract Syntrax Tree. This inherits from ASTNode, and is intended to be a base class as well. Should never be instantiated directly as once again the semantic information is contained in the class name.
A left/right branch in an Abstract Syntrax Tree. This inherits from ASTNode, and is intended to be a base class as well. Should never be instantiated directly as once again the semantic information is contained in the class name.
R6Class
object.
tangram::ASTNode
-> ASTBranch
left
A pointer to the left node below this one
right
A pointer to the right node below this one
distribute()
Call to distribute multiplication nodes, just recursively calls left and right node distribute functions
ASTBranch$distribute()
reduce()
Attached data to nodes by processing data.frame appropriatly. Recursively calls left and right nodes to reduces on data.frame
ASTBranch$reduce(df)
df
(data.frame) Data frame to reduce over
clone()
The objects of this class are cloneable with this method.
ASTBranch$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.