\HeaderA{interpret.gam}{Interpret a GAM formula}{interpret.gam}
\keyword{models}{interpret.gam}
\keyword{smooth}{interpret.gam}
\keyword{regression}{interpret.gam}
\begin{Description}\relax
This is an internal function of package \code{mgcv}. It is a service routine for
\code{gam} which splits off the strictly parametric part of the model formula, returning 
it as a formula, and interprets the smooth parts of the model formula. 

Not normally called directly.
\end{Description}
\begin{Arguments}
\begin{ldescription}
\item[\code{gf}] A GAM formula as supplied to \code{\LinkA{gam}{gam}} or \code{\LinkA{gamm}{gamm}}.
\end{ldescription}
\end{Arguments}
\begin{Value}
An object of class \code{split.gam.formula} with the following items:

\begin{ldescription}
\item[\code{pf}] A model formula for the strictly parametric part of the model.
\item[\code{pfok}] TRUE if there is a \code{pf} formula.
\item[\code{smooth.spec}] A list of class \code{xx.smooth.spec} objects where \code{xx} depends on the basis 
specified for the term. (These can be passed to smooth constructor method functions to actually set up
penalties and bases.)
\item[\code{full.formula}] An expanded version of the model formula in which the options are fully expanded, and 
the options do not depend on variables which might not be available later.
\item[\code{fake.formula}] A formula suitable for use in evaluating a model frame.
\item[\code{response}] Name of the response variable.
\end{ldescription}
\end{Value}
\begin{Author}\relax
Simon N. Wood \email{simon.wood@r-project.org}
\end{Author}
\begin{References}\relax
Wood, S.N. (2000)  Modelling and Smoothing Parameter Estimation
with Multiple  Quadratic Penalties. J.R.Statist.Soc.B 62(2):413-428

Wood, S.N. (2003) Thin plate regression splines. J.R.Statist.Soc.B 65(1):95-114

\url{http://www.stats.gla.ac.uk/~simon/}
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{gam}{gam}} \code{\LinkA{gamm}{gamm}}
\end{SeeAlso}

