generate_ss3 | R Documentation |
Generate frequently used input data for Stock Synthesis 3
generate_ss3( file_path, r0, steepness, sigmar, projection_f, projection_catch = NULL, sa_data, model_year, projection_year, use_depletion = FALSE, depletion_ratio = NULL )
file_path |
A file path to a directory where the assessment input and output files will be saved. |
r0 |
UNexploited recruitment from Beverton-Holt stock-recruitment model. |
steepness |
Steepness from Beverton-Holt stock-recruitment model. Recruitment relative to unfished recruitment at 20% of unfished spawning biomass. |
sigmar |
Standard deviation of log recruitment. |
projection_f |
Fishing mortality inputs for projections. |
projection_catch |
Catch inputs for projections. |
sa_data |
Simulated stock assessment input data from Rscript/simulation.R. |
model_year |
A vector of years for model fitting. |
projection_year |
A vector of years for projection. |
use_depletion |
A logical value. |
depletion_ratio |
Ratio of depletion. |
Outputs from Stock Synthesis 3
## Not run: generate_ss3( file_path = here::here("data", "data_rich"), r0 = 12, steepness = 0.5, sigmar =0.25, projection_f = 0.75, projection_catch = NULL, sa_data = sa_data, model_year = 1985:2012, projection_year = 2013:2017, use_depletion = FALSE, depletion_ratio = NULL ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.