change_rec_devs_par {ss3sim}R Documentation

Replace recruitment deviations

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

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


[Package ss3sim version 1.0.3 Index]