tpssmoother {ibr} | R Documentation |
The function evaluates the smoothing matrix H
, the
matrices Q and S and their associated
coefficients c
and s
. This function is not intended to be used directly.
tpssmoother(X,Y=NULL,lambda,m=2)
X |
Matrix of explanatory variables, size n,p. |
Y |
Vector of response variable. If null, only the smoothing matrix is returned. |
lambda |
The smoothness coefficient lambda for thin plate splines of
order m . |
m |
Order of thin plate splines. |
see the reference for detailed explanation of Q (the semi kernel or radial basis) and S (the polynomial null space). Both matrices are computed using fields.
Returns a list containing the smoothing matrix H
, and two
matrices denoted Sgu
(for null space) and Qgu
.
Pierre-Andre Cornillon, Nicolas Hengartner and Eric Matzner-Lober
C. Gu (2002) Smoothing spline anova models. New York: Springer-Verlag.