generate_ss3.Rd
Generate frequently used input data for Stock Synthesis 3
generate_ss3(
file_path,
r0,
r0_phase = 1,
steepness,
sigmar,
projection_f,
projection_catch = NULL,
sa_data,
model_year,
projection_year,
use_depletion = FALSE,
depletion_ratio = NULL,
initial_equilibrium_catch = TRUE,
settlement_age = 0
)
A file path to a directory where the assessment input and output files will be saved.
Unexploited recruitment from Beverton-Holt stock-recruitment model.
Phase for Unexploited recruitment from Beverton-Holt stock-recruitment model. Default value is 1.
Steepness from Beverton-Holt stock-recruitment model. Recruitment relative to unfished recruitment at 20% of unfished spawning biomass.
Standard deviation of log recruitment.
Fishing mortality inputs for projections.
Catch inputs for projections.
Simulated stock assessment input data from Rscript/simulation.R.
A vector of years for model fitting.
A vector of years for projection.
A logical value.
Ratio of depletion.
TRUE or FALSE.
Settlement age. Default value is age 0.
Outputs from Stock Synthesis 3
if (FALSE) {
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
)
}