R/get_multinomial_props.R
get_multinomial_props.Rd
Function to compute proportions-at-age for each length using multinomial approach From Chris Legault (which was based on code from Mike Bednarski)
get_multinomial_props(
agedata,
small.len = 1,
big.len,
small.age,
big.age,
ref.age,
printConvergence = F
)
Numeric scalar. Smallest length to be estimated (Usually based on observations for the year)
Numeric scalar. Largest length to be estimated (Usually based on observations for the year)
Numeric scalar.
Numeric scalar. Maximum age needed in the key (Usually based on observations for the year)
Numeric scalar. Used in the GLM as the age against which all the other ages are estimated. It is typically the most abundant age.
Data frame
List
Indicating if the fit converged.
Matrix. Age-length Key. Rows are lengths, columns ages