Set up model dimensions
Setup_Mod_Dim.Rd
Set up model dimensions
Usage
Setup_Mod_Dim(
years,
ages,
lens,
n_regions,
n_sexes,
n_fish_fleets,
n_srv_fleets,
n_proj_yrs_devs = 0,
verbose = FALSE
)
Arguments
- years
Numeric vector of years.
- ages
Numeric vector of age classes.
- lens
Numeric vector of length bins; can be set to
1
if length data are not modeled.- n_regions
Integer specifying the number of spatial regions.
- n_sexes
Integer specifying the number of sexes.
- n_fish_fleets
Integer specifying the number of fishery fleets.
- n_srv_fleets
Integer specifying the number of survey fleets.
- n_proj_yrs_devs
Number of projection years for deviation parameters (ln_RecDevs, logit_move_devs, ln_fishsel_devs, ln_srvsel_devs)
- verbose
Logical flag indicating whether to print progress messages (default
FALSE
).
Value
A list containing three named elements:
data
List of data inputs dimensioned by the model dimensions.
parameters
List of model parameters initialized according to dimensions.
map
List of parameter mappings for model fitting.
See also
Other Model Setup:
Setup_Mod_Biologicals()
,
Setup_Mod_Catch_and_F()
,
Setup_Mod_FishIdx_and_Comps()
,
Setup_Mod_Fishsel_and_Q()
,
Setup_Mod_Movement()
,
Setup_Mod_Rec()
,
Setup_Mod_SrvIdx_and_Comps()
,
Setup_Mod_Srvsel_and_Q()
,
Setup_Mod_Tagging()
,
Setup_Mod_Weighting()