Creates a metaRangeSimulation object.
A convenience wrapper for metaRangeSimulation$new()
.
Arguments
- source_environment
<SpatRasterDataset>
created byterra::sds()
that represents the environment. The individual data sets represent different environmental variables (e.g. temperature or habitat availability) and the different layer of the data sets represent the different timesteps of the simulation. The function metaRangeSimulation$set_time_layer_mapping()
can be used to extend/ shorten the simulation timesteps and set the mapping between each time step and a corresponding environmental layer. This can be used e.g. to repeat the first (few) layer as a burn-in period. The number of layers must be the same for all data sets.- ID
<string>
optional simulation identification string. Will be set automatically if none is specified.- seed
<integer>
optional seed for the random number generator. Will be set automatically if none is specified.
Value
A metaRangeSimulation object