This function creates an empty copy of a provided
SpatRaster
object. It is primarily used in the package to create the
outputs for the predictions.
Arguments
- x
A
SpatRaster*
object corresponding.- ...
other arguments that can be passed to
terra
Value
an empty SpatRaster
, i.e. all cells are NA
.