change_rec_devs_par: Replace recruitment deviations

Description Usage Arguments Details Value Author(s)

View source: R/change_rec_devs_par.r

Description

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.

Usage

1
2
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.

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.

Value

A modified SS3 .par file.

Author(s)

Cole Monnahan


ss3sim documentation built on Nov. 9, 2019, 1:06 a.m.