[R] Interpolation using a piecewise linear function in higher dimensions

Kjetil Kjernsmo kjetil.kjernsmo at astro.uio.no
Thu Jul 27 20:01:54 CEST 2000

Dear all,

I am just wondering if anybody has implemented a function that can give a
piecewise linear interpolation in more than 2 dimensions? 
I have looked at the akima package, but I would rather like a piecewise
linear interpolation rather than a spline and while it did the job quite
satisfactory for 2 dimensions, I need to interpolate in at least three
dimensions. If anybody has implemented something like that, and would like
to share the code, I would be very happy. Or if someone knows a library
that can do it that wouldn't be too hard to port (I have searched in
netlib, found one function that was a bit hard to understand and seemed
like overkill, and looked in the GSL documentation without finding
anything appropriate).


Kjetil Kjernsmo
Graduate astronomy-student                    Problems worthy of attack
University of Oslo, Norway            Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no                                - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no 

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