% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/superlearner.R
\name{predict.superlearner}
\alias{predict.superlearner}
\title{Predict Method for superlearner Fits}
\usage{
\method{predict}{superlearner}(object, newdata, all.learners = FALSE, ...)
}
\arguments{
\item{object}{(superlearner) Fitted \link{superlearner} object.}

\item{newdata}{(data.frame) Data in which to look for variables with which to
predict.}

\item{all.learners}{(logical) If FALSE (default), then return the predictions
from the ensemble model. Otherwise, return predictions of from all individual
learners.}

\item{...}{Not used.}
}
\value{
numeric (\code{all.learners = FALSE}) or matrix (\code{all.learners = TRUE})
}
\description{
Obtains predictions for ensemble model or individual learners.
}
