bias_ss3: Perform a single bias adjustment run

Description Usage Arguments Value Author(s) References See Also

Description

This function is run within run_bias_ss3 and for a single run it:

  • uses r4ss function SS_output to read in the output from a single bias adjustment run

  • uses r4ss function SS_fitbiasramp to calculate the bias adjustment parameters for that run

  • Writes the bias adjustment parameters to the file AdjustBias.DAT within the dir folder, overwriting the file if iter = 1 (the first run) and appending the file otherwise

Usage

1
bias_ss3(iter, dir)

Arguments

iter

Replicate number. Used to identify this iteration if there are multiple adjustment runs.

dir

Passes dir from the function run_bias_ss3 to bias_ss3. In run_bias_ss3 this is run within an sapply function for each of the bias adjustment runs.

Value

A plain text file containing the bias adjustment variables is created at dir/AdjustBias.DAT. A PDF figure is created in dir/biasramp-N.pdf, where N represents the iteration number.

Author(s)

Carey McGilliard

References

Methot, R. D. and Taylor, I. G. (2011). Adjusting for bias due to variability of estimated recruitments in fishery assessment models. Can. J. Fish. Aquat. Sci., 68(10):1744-1760.

See Also

run_bias_ss3, run_ss3sim, ss3sim_base



Search within the ss3sim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.