Fitted (in-sample) predictions from a ppforest2 model.
fitted.ppmodel.RdReturns predictions on the training data — a factor for classification,
a numeric vector for regression. For forests, training predictions are
optimistic; use oob_predictions() for an honest estimate.
Usage
# S3 method for class 'ppmodel'
fitted(object, ...)Value
A factor (classification) or numeric vector (regression), length equal to the number of training observations.