DESCRIPTION NEEDED

prepEcoregions(
  ecoregionRst = NULL,
  ecoregionLayer,
  ecoregionLayerField = NULL,
  rasterToMatchLarge,
  rstLCCAdj,
  pixelsToRm,
  cacheTags
)

Arguments

ecoregionRst

an optional raster object that could be passed to sim, representing ecoregions

ecoregionLayer

a spatial polygons object representing ecoregions

ecoregionLayerField

optional. The field in ecoregionLayer that represents ecoregions.

rasterToMatchLarge

the rasterToMatchLarge object from sim

rstLCCAdj

RasterLayer representing land cover adjusted for non-forest classes

pixelsToRm

a vector of pixels to remove

cacheTags

UserTags to pass to cache