An R6 class representing a chance node in a decision tree.
Andrew Sims andrew.sims@newcastle.ac.uk
rdecision::Node
-> ChanceNode
Inherited methods
new()
Create a new ChanceNode
object
ChanceNode$new(label = "")
label
An optional label for the chance node.
A new ChanceNode
object
clone()
The objects of this class are cloneable with this method.
ChanceNode$clone(deep = FALSE)
deep
Whether to make a deep clone.
A chance node is associated with at least two branches to other
nodes, each of which has a conditional probability (the probability of
following that branch given that the node has been reached). Inherits from
class Node
.