[R] Questions about piecewise spline fitting

Gang Liang gumpleon at hotmail.com
Wed Dec 5 07:05:34 CET 2001


Hi All,

I want to fit a piecewise spline of degree 1, i.e. a spline consisting of a 
straight line over each piece. I downloaded the R package pspline, then I 
have following questions:

1. in the program, the degree of the spline is specified by 2*norder-1. Why 
do they adopt such scheme that we can only fit a spline with odd degree?

2. norder cannot be set to 1. Is there any specific reason for doing so?

Maybe I need to code this by myself. So I'd like to hear your advices.

Thanks in advance,
Gang


_________________________________________________________________


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list