% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ppmodel.R
\name{oob_predictions}
\alias{oob_predictions}
\title{Out-of-bag predictions for a random forest.}
\usage{
oob_predictions(model)
}
\arguments{
\item{model}{A \code{pprf} forest model.}
}
\value{
A factor (classification) or numeric vector (regression), length `n`.
}
\description{
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.
}
\seealso{
\code{\link{oob_error}}, \code{\link{oob_samples}}
}
