Make maps from BIOMOD_EnsembleForecasting() results

biomodEnsembleProjMaps(bm.em.proj, predModel, rasTemplate, origCRS)

Arguments

bm.em.proj

output of biomod2::BIOMOD_EnsembleForecasting(). Note that x and ycoordinates extracted from bm.em.proj@coord must be in the same projection as rasTemplate.

predModel

character. Which model predictions should be used. Choose one of bm.em.proj@models.projected.

rasTemplate

a template RasterLayer or SpatRaster that can be used to map the projections

origCRS

character. The original CRS projection of bm.em.proj@coord.

Value

a SpatRaster object