Methods to Create Hierarchical Age Length Keys for Age Assignment
Adjusts data to account for plus group or minimum age
Convert ages from/to ordered factor
Assign ages to non-aged data based on a fitted age model
Assign associated age-length key attributes to a data.frame
Simple function that returns NA values
Convert a vector of lengths into binned values
Calculate mean-squared-error (MSE) and root mean-squared-error (RMSE) ...
Backend helper function to compute MSE or RMSE
Compute test statistics for comparing actual and estimated ages
Check for age/length data in the data being estimated or predicted
Check the model type and return standardized version
Compute the quotient of integrals as a measure of percent error betwee...
Make an age-length key out of length-at-age data
Create a hierarchical age-length key (HALK)
Count number of length-at-age samples or age groups at each level and ...
Pipe operator
Simple helper function to rename size and age column names to age and ...
Check for species in columns and/or levels and add to levels if presen...
Provides methods for implementing hierarchical age length keys to estimate fish ages from lengths using data borrowing. Users can create hierarchical age length keys and use them to assign ages given length.