Skip to content
Prev 12899 / 29559 Next

downscaling grid data; alternative for interp()?

Hi,

A trick to get Nearest Neighbor (NN) is to use idw() from the gstat
package with setting the nmax parameter to 1. This limits the amount of
points used for the inverse distance weighted average to one, leading to
NN. I'm not sure if this is much faster than interp, but you can take a
look.

regards,
Paul
On 09/22/2011 11:45 AM, Klaus Vormoor wrote: