calculate_data_units {ss3sim} | R Documentation |
Given sampling arguments, calculate super set of fleets, years, and data types.
calculate_data_units(index_params = NULL, lcomp_params = NULL,
agecomp_params = NULL, calcomp_params = NULL,
mlacomp_params = NULL, wtatage_params = NULL)
index_params |
Named lists containing the arguments for
|
lcomp_params |
Named lists containing the arguments for
|
agecomp_params |
Named lists containing the arguments for
|
calcomp_params |
Named lists containing the arguments for
|
mlacomp_params |
Named lists containing the arguments for
|
wtatage_params |
Named lists containing the arguments for
|
An invisible list of fleets, years, and types.
A superset by nature is larger than the individual sets used to create it (unless all sampling arguments are identical), so that the returned list will created some unnecessary combinations. This was done intentionally for simplicity but may be changed later. See the vignette for further information.
See further examples in change_data
.
Cole Monnahan
clean_data, change_data
## Only one fleet
calculate_data_units(lcomp_params = list(fleets = 1, years = c(3, 4, 6)))
## Add new fleet
calculate_data_units(lcomp_params = list(fleets = 1, years = c(3, 4, 6)),
agecomp_params = list(fleets = 2, years = 5))