Re: [R] Taking the derivative of a quadratic B-spline

2005-07-20 Thread James McDermott
Thanks a lot for the input on this Professor Murdoch. I really appreciate all the help. Regards, Jim On 7/20/05, Duncan Murdoch [EMAIL PROTECTED] wrote: James McDermott wrote: Would the unique quadratic defined by the three points be the same curve as the curve predicted by a quadratic B

[R] Taking the derivative of a quadratic B-spline

2005-07-19 Thread James McDermott
Hello, I have been trying to take the derivative of a quadratic B-spline obtained by using the COBS library. What I would like to do is similar to what one can do by using fit-smooth.spline(cdf) xx-seq(-10,10,.1) predict(fit, xx, deriv = 1) The goal is to fit the spline to data that is

Re: [R] Taking the derivative of a quadratic B-spline

2005-07-19 Thread James McDermott
: On 7/19/2005 2:53 PM, James McDermott wrote: Hello, I have been trying to take the derivative of a quadratic B-spline obtained by using the COBS library. What I would like to do is similar to what one can do by using fit-smooth.spline(cdf) xx-seq(-10,10,.1) predict(fit, xx, deriv = 1

Re: [R] Taking the derivative of a quadratic B-spline

2005-07-19 Thread James McDermott
Would the unique quadratic defined by the three points be the same curve as the curve predicted by a quadratic B-spline (fit to all of the data) through those same three points? Jim On 7/19/05, Duncan Murdoch [EMAIL PROTECTED] wrote: On 7/19/2005 3:34 PM, James McDermott wrote: I wish it were