interpolation and numerical differentiation in R ?
On Sat, 1 Sep 2001, Robert D. Merithew wrote:
On 1 Sep 2001, Douglas Bates wrote:
See interpSpline in the splines library. When evaluating the interpolating spline produced by interpSpline you can specify that you want derivatives instead of the function value.
perfect. I'd use predict.bSpline, it seems. My problem was that I started looking in the wrong place. I was wandering around the documentation on the web site, which I was unable to search (pdf files). Now that I've installed R, and can search I see that R has an enormous number of functions which will be useful to me. I didn't get that impression from the 'Basics' book, though the book will be very helpful as I get used to the data structures.
Well, it is a basic book, not really a book on Basics of the language. You didn't say which edition: both are about S-PLUS not R, and the current Second Edition is mainly aimed at GUI-using users of S-PLUS 2000. I'd say the other books mentioned in the R FAQ were better for your purposes, although none hit exactly this (which is only in R).
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._