change_rec_devs_par function

Replace recruitment deviations

Replace recruitment deviations

This function replaces the recruitment deviations in the ss.par file with those specified in recdevs_new, as well as a comment (for debugging). It then writes a new file with name par_file_out into the working directory.

change_rec_devs_par(recdevs_new, par_file_in = "ss.par", par_file_out = "ss.par")

Arguments

  • recdevs_new: A vector of new recruitment deviations.
  • par_file_in: A string providing the path to the input SS .par file.
  • par_file_out: A string providing the path to the output SS .par file.

Returns

A modified SS3 .par file.

Details

This function does not need to be specified in a case file if you are running and ss3sim simulation through case files with run_ss3sim.

Author(s)

Cole Monnahan

  • Maintainer: Kelli F. Johnson
  • License: MIT + file LICENSE
  • Last published: 2019-11-08