Description Usage Arguments Details Value See Also
View source: R/formula_plbpsm.R
Description of plbpsm formula (see Details), and how to extract it from a fitted plbpsm
object.
1 2 |
x |
fitted model objects of class gam (see |
... |
un-used in this case |
The formulae supplied to plbpsm
are exactly like those supplied to glm
except that univataible and bivariate smooth terms,u
and b
can be added to the right hand side (and . is not supported
in plbpsm
formulae).
Smooth terms are specified by expressions of the form:
f(x1,x2,...,r=1,d=2,fx=FALSE)
.
If d
is not specified then basis specific defaults are
used. Note that these defaults are essentially arbitrary, and it is important to check that they are not
so big that they cause oversmoothing.
fx is used to indicate whether or not this term should be unpenalized.
Formulae can involve nested or “overlapping” terms such as
y~u(x)+u(z)+f(x,z)
.
Returns the model formula, x$formula
. Provided so that anova methods print an appropriate description of the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.