View source: R/set_synth_years.R
set_synth_years | R Documentation |
Generates model params for running the life cycle models in calibration mode
set_synth_years(
params,
spawn_years = DSMCalibrationData::calibration_year_spawn_index,
years = DSMCalibrationData::calibration_year_index
)
params |
list object containing all arguments and coefficents for a life cycle model |
spawn_years |
named array of synthetic year series for spawning inputs |
years |
named array of synthetic year series for all other inputs |
This function modifies the baseline model params for a run using
the synthetic year series. More details about the synthetic year series can be found
here: calibration_year_index
.
Results of running set_synth_years
for each run are cached and accessible via
fall_run_calibration
, winter_run_calibration
,and
spring_run_calibration
## Not run:
params <- set_synth_years(fallRunDSM::params)
fallRunDSM::fall_run_model(mode = "calibrate", seeds = seeds, ..params = params)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.