[R] splines in R {"translation of the matlab PPVAL function"}

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Fri 10 Feb 2006 - 21:25:38 EST

Probably ?spline and the builtin spline() function is already sufficient for you.

If you need more, use the (standard R) 'splines' package:

library(help = splines)

>>>>> "pecqueur" == pecqueur <pecqueur@esbs.u-strasbg.fr>
>>>>> on Thu, 9 Feb 2006 10:53:45 +0100 (CET) writes:

    pecqueur> Hello,
    pecqueur> I am trying to translate a matlab program into R, and I have some problems
    pecqueur> to find out how to translate the PPVAL function.
    pecqueur> I know that ppval(pp,xx) returns the value at the points xx of the
    pecqueur> piecewise polynomial contained in pp( constructed by spline), but I don't
    pecqueur> know how to do the same thing in R.

    pecqueur> Thanks for you help

    pecqueur> Delphine

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Feb 10 21:30:46 2006

This archive was generated by hypermail 2.1.8 : Mon 13 Feb 2006 - 22:40:18 EST