Re: [R] Smooth periodic splines

2009-01-18 Thread Spencer Graves
Two other possibilities: The 'DierckxSpline' package includes a function 'percur' for fitting periodic splines. Unfortunately, it has a known bug that kills R with a segmentation fault, though it not affect your application. The 'fda' package supports the use of finite Fourier seri

Re: [R] Smooth periodic splines

2009-01-18 Thread Simon Wood
The "cc" and "cp" bases in package `mgcv' provide periodic splines, [e.g. gam(y~s(x,bs="cc"))], but this may not be exactly the functionality you want. best, Simon On Friday 16 January 2009 08:42, cmr.p...@gmail.com wrote: > Hello group! > > Is there a package that allows to fit smooth *periodi

Re: [R] Smooth periodic splines

2009-01-17 Thread Андрей Парамонов
2009/1/16 Spencer Graves : > 1. RSiteSearch('{periodic spline}') produced 12 hits. I looked at the > first five and found that four of them seemed relevant to your question. > 2. The third hit in this list notes that the DierckxSpline package has > periodic splines, while 'fda' recommend

Re: [R] Smooth periodic splines

2009-01-16 Thread Spencer Graves
1. RSiteSearch('{periodic spline}') produced 12 hits. I looked at the first five and found that four of them seemed relevant to your question. 2. The third hit in this list notes that the DierckxSpline package has periodic splines, while 'fda' recommends finite Fourier series for

Re: [R] Smooth periodic splines

2009-01-16 Thread Duncan Murdoch
cmr.p...@gmail.com wrote: Hello group! Is there a package that allows to fit smooth *periodic* splines to data? I'm interested in a function which combines the functionality of smooth.spline and splines::periodicSpline. I don't know one, but you could use the same technique that periodicSp

[R] Smooth periodic splines

2009-01-16 Thread cmr.p...@gmail.com
Hello group! Is there a package that allows to fit smooth *periodic* splines to data? I'm interested in a function which combines the functionality of smooth.spline and splines::periodicSpline. Thanks, Andrey __ R-help@r-project.org mailing list https: