interpret.gam
Interpret a GAM formula
Description
This is an internal function of package mgcv
. It is a service routine for 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.
Usage
interpret.gam(gf, extra.special = NULL)
Arguments
gf | A GAM formula as supplied to |
extra.special | Name of any extra special in formula in addition to |
Value
An object of class split.gam.formula
with the following items:
pf | A model formula for the strictly parametric part of the model. |
pfok | TRUE if there is a |
smooth.spec | A list of class |
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. |
fake.formula | A formula suitable for use in evaluating a model frame. |
response | Name of the response variable. |
Author(s)
Simon N. Wood [email protected]
References
https://www.maths.ed.ac.uk/~swood34/
See Also
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.