exact_resample | R Documentation |
Resample a raster to a new grid
## S4 method for signature 'RasterLayer,RasterLayer'
exact_resample(x, y, fun, coverage_area = FALSE)
## S4 method for signature 'SpatRaster,SpatRaster'
exact_resample(x, y, fun, coverage_area = FALSE)
x |
a |
y |
a raster of the same class as |
fun |
a named summary operation or R function to be used for the resampling |
coverage_area |
use cell coverage areas instead of coverage fractions
in |
a resampled version of x
, returned as a RasterLayer
or
SpatRaster
, depending on the values of x
and y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.