% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ppmodel.R
\name{fitted.ppmodel}
\alias{fitted.ppmodel}
\title{Fitted (in-sample) predictions from a ppforest2 model.}
\usage{
\method{fitted}{ppmodel}(object, ...)
}
\arguments{
\item{object}{A \code{pptr} or \code{pprf} model.}

\item{...}{Unused.}
}
\value{
A factor (classification) or numeric vector (regression), length
  equal to the number of training observations.
}
\description{
Returns predictions on the training data — a factor for classification,
a numeric vector for regression. For forests, training predictions are
optimistic; use \code{\link{oob_predictions}()} for an honest estimate.
}
\seealso{
\code{\link{residuals.ppmodel}}, \code{\link{oob_predictions}}
}
