[R] Z aware interpolation

Roger Bivand Roger.Bivand at nhh.no
Sun Sep 21 15:50:49 CEST 2003

On Sun, 21 Sep 2003, Monica Palaseanu-Lovejoy wrote:

> Hello again,
> There is any package which does Z aware (real 3D) interpolations? 
> It can be any method (IDW, kriging or spline) but it should take into 
> consideration not only x and y coordinates for interpolation, but 
> also z coordinate. I looked into different packages but it seems i 
> didn't find the right one.

Assuming that you have points with x and y coordinates, and a z attribute 
that you want to interpolate to a grid, then the akima package provides 
spline interpolation as interp(). See Chapter 15 in Venables and Ripley 
(2002) Modern Applied Statistics with S for more ideas.

> The ultimate goal is to import the output into a GIS (Geographical 
> Information System) for further analysis.
> Alternatively, maybe you know a source for codes for normal IDW 
> (Inverse Distance Weight) interpolation (i mean the one which 
> takes into consideration only x and y coordinates) so i can try to 
> modify it to take into consideration z values as well. I am not sure 
> it will work, or i can do it - but it worth a try - of course if this is not 
> already done. 
> Thanks,
> Monica
> Monica Palaseanu-Lovejoy
> University of Manchester
> School of Geography
> Mansfield Cooper Building 
> Oxford Road, Manchester
> M13 9PL, UK. 
> email: monica.palaseanu-lovejoy at stud.man.ac.uk
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Roger Bivand
Economic Geography Section, Department of Economics, 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

More information about the R-help mailing list