qm_as_raster {quadmesh} | R Documentation |
Approximate re-creation of a raster from a quadmesh.
qm_as_raster(x, index = NULL)
x |
'mesh3d' object |
index |
optional index to specify which z coordinate to use as raster values |
The raster is populated with the mean of the values at each corner, which is closest to the interpretation use to create mesh3d from rasters. This can be over ridden by setting 'index' to 1, 2, 3, or 4.
RasterLayer
qm_as_raster(quadmesh(etopo))