
Get bundled initial parameter values
get_parameters.RdLoads the packaged initial parameter list that matches one of the bundled opal model data sets.
Arguments
- data
Optional model data list used to infer the bundled parameter set.
- model
Optional character model identifier. Supported values are
"opal_baseline","opakapaka", and"wcpo_bet". Aliases"baseline","opaka", and"bet"are also accepted. Supplyingmodelis preferred whendatahas been modified after loading.
Details
If data$k_mult_ages is supplied, adds log_k_mult
initialized to zero (unit K multipliers).
Parameters for the alternative growth curves (see get_growth)
are added only when data$growth_model selects them:
growth_model = "richards"addsrichards_b = 1, which gives the VB curve.growth_model = "cessation"addslog_L0(initialized atlog_L1),log_rmax(initialized atlog((L2 - L1) / (A2 - A1)), length per model age step),log_k_gc = 0andt50_gc(initialized at the midpoint of the modeled ages,(1 + n_age) / 2 + growth_age_offset).
If data$growth_sd_model = "sd" (see get_sd_at_age),
adds log_SD1 and log_SD2, the log SDs of length-at-age at
the reference lengths, initialized at log_CV1 + log_L1 and
log_CV2 + log_L2 (the SDs implied by the CVs). log_CV1
and log_CV2 are then unused.