% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary.R
\name{predict.l0ara}
\alias{predict.l0ara}
\title{Make predictions from a \code{"l0ara"} object}
\usage{
\method{predict}{l0ara}(
  object,
  newx,
  type = c("link", "response", "coefficients", "class"),
  ...
)
}
\arguments{
\item{object}{Fitted "l0ara" object.}

\item{newx}{Matrix of new predictor values. If omitted, predictions are made
for the training design matrix stored in \code{object$x}.}

\item{type}{Type of prediction required. \code{"link"} returns the linear
predictor. \code{"response"} returns the response-scale mean implied by the
model family. \code{"coefficients"} returns the fitted coefficient vector.
\code{"class"} is available only for \code{family = "logit"} and returns
0/1 class labels using a cutoff of 0 on the linear predictor.}

\item{...}{Not used argument.}
}
\value{
The return value depends on \code{type}: a numeric vector of linear
  predictors or response-scale predictions, a named coefficient vector, or a
  numeric vector of 0/1 class labels.
}
\description{
Generate linear predictors, response-scale predictions, class
  labels, or fitted coefficients from a \code{"l0ara"} fit.
}
\details{
For Gaussian models, \code{type = "link"} and
  \code{type = "response"} return the same values.
}
\seealso{
\code{\link{coef.l0ara}}, \code{\link{l0ara}}.
}
\author{
Wenchuan Guo <wguo007@ucr.edu>, Shujie Ma <shujie.ma@ucr.edu>, Zhenqiu Liu <Zhenqiu.Liu@cshs.org>
}
