.NAvalueFlag | R Documentation |
Raster
or SpatRaster
These all create a single function that can be used for either Raster
or SpatRaster
objects.
.NAvalueFlag(ras, NAval)
.stack(rasList)
.projectExtent(ras, crs)
asInt(ras)
isInt(ras)
reclass(ras, tab)
ras |
a |
NAval |
the value to use as |
rasList |
a list of |
crs |
passed to |
tab |
matrix of values to reclassify. See |
a raster with attributed NA values
a stacked raster
the projected extent
asInt
returns a *Raster
with values converted to integer
, if they weren't already.
isInt
returns a logical as per is.integer
.
reclass
returns a *Raster
with values reclassified as per terra::classify
and raster::reclassify
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.