Create a binary reclassification of the input SpatRaster
Source:R/SVEIRD.BayesianDataAssimilation.R
classify.binary.Rd
The susceptible matrix is reclassified so positive values become one and negative values become zero. Values which are zero remain zero. This results in a binary classification of inhabitance when given a SpatRaster with population count or susceptible data; regardless, whatever input SpatRaster is provided, a binary classification of the values in the raster are returned in a SpatRaster of equal dimension and with the same coordinate reference system.