View source: R/make_binary_mask.R
make_binary_mask | R Documentation |
Create a binary mask from a raster: NAs are converted to 0s, and any other value to 1.
make_binary_mask(x)
x |
a |
a terra::SpatRaster
with 0s and 1s
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.