\HeaderA{formula.gam}{Extract the formula from a gam object}{formula.gam}
\keyword{models}{formula.gam}
\keyword{smooth}{formula.gam}
\keyword{regression}{formula.gam}
\begin{Description}\relax
Extracts the formula from a fitted \code{gam} object.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'gam':
formula(x,...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] fitted model objects of class \code{gam} (see \code{\LinkA{gamObject}{gamObject}}) as produced by \code{gam()}.
\item[\code{...}] un-used in this case
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Returns \code{x\$formula}. Provided so that \code{anova} methods
print an appropriate description of the model.
\end{Details}
\begin{Value}
A model formula.
\end{Value}
\begin{Author}\relax
Simon N. Wood \email{simon.wood@r-project.org}
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{gam}{gam}}
\end{SeeAlso}

