Allows for: setting a window (using the aoi); and recoding categorical raster(s) to no more than cat_pred_levels.
make_env_stack(
predictors,
is_env_pred = TRUE,
aoi = NULL,
cat_pred_levels = NULL
)Character. Paths to rasters.
Logical. Does the naming follow that described by
envRaster::name_env_tif()
sf. Used in terra::window()
Named list. Usually prep$cat_pred_levels() resulting
from envSDM::prep_sdm()
spatRaster