This function creates a new BiodiversityScenario object that contains the projections of a model.
Usage
scenario(fit, limits = NULL, copy_model = FALSE)
# S4 method for ANY,ANY,logical
scenario(fit,limits,copy_model)
Arguments
- fit
A
BiodiversityDistribution
object containing a trained model.- limits
A
SpatRaster
orsf
object that limits the projection surface when intersected with the prediction data (Default:NULL
). This can for instance be set as an expert-delineated constrain to limit spatial projections.- copy_model
A
logical
of whether the model object is to be copied to the scenario object. Note that setting this option toTRUE
can increase the required amount of memory (Default:FALSE
).