Skip to content
Prev 176015 / 398506 Next

DierckxSpline fitting with different sets of y-values in one time

Dear Elisabeth: 

      Have you tried it?  I have not, but I suspect the answer is "no". 

      What problem are you trying to solve?  You might get more useful 
suggestions from this list if you provide commented, minimal, 
self-contained, reproducible code describing your problem and what 
you've tried to solve it, as suggested in the posting guide 
"www.R-project.org/posting-guide.html". 

      With fmri images, I might look first at the "fields" package, 
because it is explicitly designed for "curve, surface and function 
fitting with an emphasis on splines, spatial data and spatial 
statistics. The major methods include cubic, robust, and thin plate 
splines, multivariate Kriging and Kriging for large data sets."  I have 
not used it, but it sounds to me like you might want thin plate 
splines.  Paul Dierckx (1993) Curve and Surface Fitting with Splines 
(Oxford Science Publications) discusses thin plate splines, and Dierckx 
wrote Fortran to fit them.  However, the "DierckxSpline" package does 
not currently connect to those capabilities. 

      If univariate splines would do, I might start with the "fda" 
package.  The theory behind that is documented in two books by Ramsay 
and Silverman. 

      Hope this helps. 
      Spencer Graves
Jonckers Elisabeth wrote: