min_samples {halk} | R Documentation |
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)
data |
Data.frame with length-at-age data |
sub_levels |
The levels at which to check |
min_age_sample_size |
Only applicable to alk models. The minimum number of samples that must be in each age group in order to create an alk |
min_total_sample_size |
Only applicable to alk models. The minimum number of samples that must be in data in order to create an alk |
min_age_groups |
Only applicable to alk models. The minimum number of age groups that must be in data in order to create an alk |
min_age_grps |
The minimum number of age groups that must be present in data to create an ALK |
A data.frame just like data
, but with samples excluded that
don't meet the required number of samples in min_sample_size