I _think_ raster may be solving a different problem. I am looking for a
voxel-type raster. Let me know if I am wrong.
plot3d(raster(kriged_sp))
Error in as.double(x) :
cannot coerce type 'S4' to vector of type 'double'
Let me describe the SpatialGridDataFrame a bit better. The coordinates
Mark,
If spgdf is a SpatialGridDataFrame object
# install.packages("raster", repos="http://R-Forge.R-project.org";)
library(raster)
plot3D(raster(spgdf))
Or you can have a look at the code:
getMethod("plot3D", 'RasterLayer')
Robert
On Wed, Dec 9, 2009 at 5:10 AM, Mark Connolly wrote:
> I have
I have a 3d SpatialGridDataFrame I created using krige (IDW). I am
using rgl facilities to create an interactive plot of the points, but
I'd really like to have something more volumetric than points. My copy
of the truly wonderful Applied Spatial Data Analysis with R (shameless
pander) is pre