decimate | R Documentation |
Reduce the resolution of a raster
by ruthless decimation.
decimate(x, dec = 10)
x |
raster object (single layer). |
dec |
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.
raster layer
library(raster)
plot(decimate(raster(volcano)))
contour(raster(volcano), add = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.