\HeaderA{Predict.matrix.cr.smooth}{Predict matrix method functions}{Predict.matrix.cr.smooth}
\aliasA{Predict.matrix.cs.smooth}{Predict.matrix.cr.smooth}{Predict.matrix.cs.smooth}
\aliasA{Predict.matrix.cyclic.smooth}{Predict.matrix.cr.smooth}{Predict.matrix.cyclic.smooth}
\aliasA{Predict.matrix.pspline.smooth}{Predict.matrix.cr.smooth}{Predict.matrix.pspline.smooth}
\aliasA{Predict.matrix.tensor.smooth}{Predict.matrix.cr.smooth}{Predict.matrix.tensor.smooth}
\aliasA{Predict.matrix.tprs.smooth}{Predict.matrix.cr.smooth}{Predict.matrix.tprs.smooth}
\aliasA{Predict.matrix.ts.smooth}{Predict.matrix.cr.smooth}{Predict.matrix.ts.smooth}
\keyword{models}{Predict.matrix.cr.smooth}
\keyword{regression}{Predict.matrix.cr.smooth}
\begin{Description}\relax
The various built in smooth classes for use with \code{\LinkA{gam}{gam}} have associate \code{\LinkA{Predict.matrix}{Predict.matrix}} 
method functions to enable prediction from the fitted model.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'cr.smooth':
Predict.matrix(object, data)
## S3 method for class 'cs.smooth':
Predict.matrix(object, data)
## S3 method for class 'cyclic.smooth':
Predict.matrix(object, data)
## S3 method for class 'pspline.smooth':
Predict.matrix(object, data)
## S3 method for class 'tensor.smooth':
Predict.matrix(object, data)
## S3 method for class 'tprs.smooth':
Predict.matrix(object, data)
## S3 method for class 'ts.smooth':
Predict.matrix(object, data)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] a smooth object, usually generated by a \code{\LinkA{smooth.construct}{smooth.construct}} method having 
processed a smooth specification object generated by an \code{\LinkA{s}{s}} or \code{\LinkA{te}{te}} term in a 
\code{\LinkA{gam}{gam}} formula.
\item[\code{data}] A data frame containing the values of the (named) covariates at which the smooth term is to be 
evaluated. Exact requirements are as for \code{\LinkA{smooth.construct}{smooth.construct}} and \code{smooth.construct2}
\end{ldescription}
.
\end{Arguments}
\begin{Details}\relax
The Predict matrix function is not normally called directly, but is rather used internally by \code{\LinkA{predict.gam}{predict.gam}} etc. 
to predict from a fitted \code{\LinkA{gam}{gam}} model. See \code{\LinkA{Predict.matrix}{Predict.matrix}} for more details, or the specific 
\code{smooth.construct} pages for details on a particular smooth class.
\end{Details}
\begin{Value}
A matrix mapping the coeffients for the smooth term to its values at the supplied data values.
\end{Value}
\begin{Author}\relax
Simon N. Wood \email{simon.wood@r-project.org}
\end{Author}
\begin{References}\relax
Wood S.N. (2006) Generalized Additive Models: An Introduction with R. Chapman
and Hall/CRC Press.
\end{References}
\begin{Examples}
\begin{ExampleCode}
## see smooth.construct
 

\end{ExampleCode}
\end{Examples}

