set_synth_years: Set Synthetic Year Series

View source: R/set_synth_years.R

set_synth_yearsR Documentation

Set Synthetic Year Series

Description

Generates model params for running the life cycle models in calibration mode

Usage

set_synth_years(
  params,
  spawn_years = DSMCalibrationData::calibration_year_spawn_index,
  years = DSMCalibrationData::calibration_year_index
)

Arguments

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

Details

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

Examples

## Not run: 
params <- set_synth_years(fallRunDSM::params)
fallRunDSM::fall_run_model(mode = "calibrate", seeds = seeds, ..params = params)

## End(Not run)

CVPIA-OSC/DSMCalibrationData documentation built on July 20, 2023, 7:04 a.m.