Calculate age-length key (alk)
calc_ALK.Rd
Calculates empircal probability of age at length from collected otolith data.
Usage
calc_alk(
gapdata = NULL,
racebase_tables = lifecycle::deprecated(),
unsex = c("all", "unsex")[2],
global = TRUE
)
Arguments
- gapdata
data object created from
gapindex::get_data()
- racebase_tables
- unsex
string, option to determine how unsexed individuals are treated. Option "all" means that unsexed alks are determined by combining all sexes (males, females, and unsexed) and is the option used for standard design-based composition production. Option "unsex" means that unsexed alk are only determined by unsexed individuals and is the option used for creating data inputs for model-based age composition indices. Defaults to "unsex"
- global
boolean. Should missing length bins be filled by using an alk consisting of all years? Defaults to TRUE.