Prepare ecoregions objects
prepEcoregions(
ecoregionRst = NULL,
ecoregionLayer,
ecoregionLayerField = NULL,
rasterToMatchLarge,
rstLCCAdj,
pixelsToRm,
cacheTags
)an optional raster object that could be passed to sim,
representing ecoregions
an sf polygons object representing ecoregions
optional. The field in ecoregionLayer that represents ecoregions.
the rasterToMatchLarge object from sim
RasterLayer representing land cover adjusted for non-forest classes
a vector of pixels to remove
UserTags to pass to cache