An R6 class representing a decision node in a decision tree.
Andrew J. Sims andrew.sims@newcastle.ac.uk
rdecision::Node -> DecisionNode
Inherited methods
new()Create a new decision node.
DecisionNode$new(label)labelA label for the node. Must be defined because the label is used in tabulation of strategies. The label is automatically converted to a syntactically valid (in R) name to ensure it can be used as a column name in a data frame.
A new DecisionNode object.
clone()The objects of this class are cloneable with this method.
DecisionNode$clone(deep = FALSE)deepWhether to make a deep clone.
A class to represent a decision node in a decision tree. The node
is associated with one or more branches to child nodes. Inherits from class
Node.