Skip to content

Updating model workflow

Grant Adams edited this page Dec 5, 2021 · 1 revision

Adding a new parameter

  1. Add parameter to ceattle_v01_07.cpp file in src/TMB
  2. Add parameter to 2-build_params_v2.R
  3. Add mapping function to 3-build_map.R
  4. Add phase to 6-fit_mod.R
  5. (Optional) add random effect switch in 6-fit_mod.R
  6. Add info on switches to meta_data_names excel doc in inst/extdata and or roxygen in 6-fit_mod.R

Changing data

  1. Change data in ceattle_v01_07.cpp file in src/TMB
  2. Update 9-1-read_write_excel_data.R
  3. Adjust data checks in 1-data_check.R
  4. Add data function to 5-rearrange_data.R if needed to be rearranged from excel format
  5. (Optional) Add data fill in for projection years to 6-fit_mod.R
  6. Add info to meta_data_names excel doc in inst/extdata and or roxygen in 6-fit_mod.R
Clone this wiki locally