clean | R Documentation |
Crop raster layers to minimum size possible and uniformize NA
values across layers.
clean(layers)
layers |
SpatRaster. As defined in package terra, see |
Excludes all marginal rows and columns with only NA
values and change values to NA
if they are NA
in any of the layers.
SpatRaster. Same class as layers.
region = gecko.data("layers")
terra::plot(clean(region))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.