Skip to content
Prev 9722 / 29559 Next

Question re: Intamap package / Interpolate method: Inputs NOT both Spatial Points Data Frame?

Thanks for pointing out that packages intamap and raster make
incompatible assumptions about the function (in raster: method)
interpolate. Sth we need to sort out.

In your script, you assign

gddThisYear$value <- gddThisYear[,jCtr]

it is too bad that this does not give a warning or error, apparently one
can assign S4 objects to data.frame columns -- it might even be
documented behaviour.

anyway, check the class of gddThisYear[,jCtr] yourself and try instead

gddThisYear$value <- gddThisYear[[jCtr]]

Hth,
On 10/26/2010 10:43 PM, Rick Reeves wrote: