Description Usage Arguments Value Author(s)
Mask a raster using either a vector or another raster.
1 | mask_raster(file_path, mask, band = 1, resampling = "ngb")
|
file_path |
A character. Path to a raster file. |
mask |
Either an sf or raster object. A mask to be applied to the input. |
band |
An integer. The band identifier in the input file. |
resampling |
A character. A resamplig method. |
A raster object.
Alber Sanchez, alber.ipia@inpe.br
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.