R/create_yr_semester_age_length_key.r
create_yr_semester_age_length_key.Rd
Uses Gerritsen et al (2006) method for predicting missing values in age length key. Currently disregards gear type and only uses QTR/SEMESETER/YEAR.
create_yr_semester_age_length_key(
expandedLandings,
ageLengthData,
filterYrs,
plusAge,
referenceAge,
printConvergence = F
)
Data frame. Landings expanded by length distribution
Data frame. Age-length data from databases
Numeric scalar. The First year in which age length key is required
Numeric scalar. Maximum age category. (eg , 10+)
Numeric scalar.Used in the GLM as the age against which all the other ages are estimated. It is typically the most abundant age.
Boolean. Should convergence messages from multinom
be printed to console (Default = F)
Data frame