These are helper shortcut functions to determine if data meet the minimum desired number of age groups and/or sample sizes.
min_count_laa_data(
data,
sub_levels = NULL,
min_age_sample_size = NULL,
min_total_sample_size = NULL,
min_age_groups = NULL
)min_age_groups(data, sub_levels = NULL, min_age_grps)
A data.frame just like data, but with samples excluded that
don't meet the required number of samples in min_sample_size
Data.frame with length-at-age data
The levels at which to check
Only applicable to alk models. The minimum number of samples that must be in each age group in order to create an alk
Only applicable to alk models. The minimum number of samples that must be in data in order to create an alk
Only applicable to alk models. The minimum number of age groups that must be in data in order to create an alk
The minimum number of age groups that must be present in data to create an ALK