[R] contour and interpolation

Roger Bivand rsb at reclus.nhh.no
Wed Nov 17 13:09:29 CET 1999


On Wed, 17 Nov 1999, Bruno Tassin wrote:

> I need to draw a contour plot based on an irregular (x,y) grid.
> Is there any interpolation function in R which could create a matrix of
> interpolated points on a regular grid based on x and y, in order to use
> the contour() function
> 

Have a look at the functions in package akima, which include several such
interpolation variants.


Roger Bivand
Department of Geography, 
Norwegian School of Economics and Business Administration,
Breiviksveien 40, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.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