Skip to contents

Returns predictions for each training row using only trees that did not see that row in their bootstrap sample. Observations with no OOB tree are represented as `NA` in both modes: `NA` at the factor level for classification, and `NA_real_` for regression. Filter with the standard `is.na()` idiom.

Usage

oob_predictions(model)

Arguments

model

A pprf forest model.

Value

A factor (classification) or numeric vector (regression), length `n`.