powered by
Reduce the resolution of a raster by ruthless decimation.
raster
decimate(x, dec = 10)
raster layer
raster object (single layer).
decimation factor, raw multiplier for the resolution of the output
This is fast, it's just fast extraction with no care taken for utility purposes when you need to reduce the detail.
library(raster) plot(decimate(raster(volcano))) contour(raster(volcano), add = TRUE)
Run the code above in your browser using DataLab