Interpolate univariate data on regular 3D grid to new 3D grid

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Interpolate univariate data on regular 3D grid to new 3D grid

Edzer J. Pebesma-2
Package gstat allows 3D interpolation. It doesn't accept
a 3D array directly; you'll have to provide it as

x1 y1 z1 obs1
x2 y2 z2 obs2

etc, e.g. by using expand.grid. Or, you may want to try
out the classes provided by package sp, which allow for
more than 2 dimensions in case of points and grids.
--
Edzer

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html