plot.TreeSurrogate: Surrogate tree visualisation
Description
Predict the response for newdata with the surrogate tree
Each plot facet is one leaf node and visualises the distribution of the \(\hat{y}\)
from the machine learning model.
This makes the TreeSurrogate object call
its iternal object$plot() method.
Usage
# S3 method for TreeSurrogate
plot(object)
Arguments
object
The surrogate tree. A TreeSurrogate R6 object