
Set up default recruitment parameters
Source:R/setup_default_parameters.R
setup_default_Recruitment.RdThis function sets up default parameters for a recruitment module.
Arguments
- data
A
FIMSFrameobject returned from runningFIMSFrame()on your long input data.- module_type
A string specifying the type of recruitment model. The available options are BevertonHolt.
- distribution
A string specifying the distribution for the recruitment process. The available options are Dnorm, NA.
Value
A tibble containing default recruitment parameters. See setup_default_parameters
for full column descriptions.
Details
The function builds module-specific defaults by calling helper functions for data, fleet, selectivity, recruitment, maturity, growth, and population components, then combines those defaults into one tibble. You can modify the returned tibble before fitting a model (for example, updating maturity and selectivity parameter values).
To create the default initial numbers at age, this function uses the defaults
from setup_default_Population() and setup_default_Recruitment(), which
are passed to setup_default_init_naa() to calculate initial numbers at age.
Examples
if (FALSE) { # \dontrun{
default_recruitment_parameters <- setup_default_Recruitment(
data = FIMSFrame(data_big),
module_type = "BevertonHolt",
distribution = "Dnorm"
)
} # }