Re: [R] evaluating derivative matrices of spline functions

2012-02-24 Thread Spencer Graves
I don't know about "smooth.spline", but the "fda" package includes "deriv.fd". It also includes "eval.fd" and "predict.fd". If you only want a first derivative, then differentiating a standard cubic spline may be adequate. However, the first derivative of a cubic spline is a quadratic

[R] evaluating derivative matrices of spline functions

2012-02-24 Thread Vassily Shvets
Hello, I've noticed that SPLUS has a function for evaluating the derivative matrices of splines. I've also noticed that there's a function in R for evaluating matrices from smooth.spline; maybe someone knows if something has been written to evaluate matrices from 'smooth.basis'? regards, s