[R] Smoothing Spline Basis Matrix

pinkdd rubyrd2008 at gmail.com
Mon Mar 1 04:41:17 CET 2010


Anybody knows how to generate the basis matrix for smoothing spline? 

And how about the smoother matrix? I tried to use the following code, but
there exist replicated data in X, and the length of smooth.spline(X,
S[,i])$y  is smaller than X, and then there is error in the last step.

spl <- smooth.spline(X, Y)
S <- diag(X)
for (i in 1:N)
S[i,] <- smooth.spline(X, S[,i])$y #smoother matrix S


Someone help please! Thanks in advance.
-- 
View this message in context: http://n4.nabble.com/Smoothing-Spline-Basis-Matrix-tp1573131p1573131.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list