mkterm.ssanova {gss} | R Documentation |
Assemble numerical functions for calculating model terms in a Smoothing Spline ANOVA Model.
mkterm.linear(mf, ext) mkterm.linear1(mf, range) mkterm.cubic(mf, ext) mkterm.cubic1(mf, range) mkterm.tp(mf, order, mesh, weight)
mf |
Model frame of the model formula. |
ext |
Size of the "buffer zone" beyond the data range. |
range |
Data frame specifying domain range. |
order |
Order of the differential operator. |
mesh |
Normalizing mesh. |
weight |
Normalizing weights. |
These are not to be called by the user.
For polynomial splines, ext
specifies how far to go beyond
the data range percentage wise. For example, if the minimum and
maximum values of a variable in mf
is 0 and 1 and
ext=.05
, then the marginal domain on which the model is
defined would be [-.95,1.05].
See mkfun.tp
for order
, mesh
,
weight
.
A list object with a component labels
containing the labels
of all model terms. For each of the model terms, there is a
component holding the numerical functions for calculating the
unpenalized and penalized parts within the term.
The numerical functions are assembled using building blocks crafted
by mkfun.poly
, mkfun.tp
,
mkrk.factor
.