mkterm.ssanova {gss} | R Documentation |
Assemble numerical functions for calculating model terms in a Smoothing Spline ANOVA Model.
mkterm.linear(mf, ext) mkterm.cubic(mf, ext) mkterm.tp(mf, order, mesh, weight)
mf |
Model frame of the model formula. |
ext |
Size of the "buffer zone" beyond the data range. |
order |
Order of the differential operator. |
mesh |
Normalizing mesh. |
weight |
Normalizing weights. |
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 fixed
and random effects within the term.
The numerical functions are assembled using building blocks crafted
by mkfun.poly
, mkfun.tp
,
mkrk.factor
.