R/test_sampling.R
adj_age_samples.Rd
Function to test changes in age sampling for whatever grouping is desired (default is changes at survey-level sampling)
adj_age_samples(data, rate = NULL, grp = c("year", "species_code"))
age specimen sample dataframe
proportion of age samples (default = NULL)
grouping variable(s) (default is to change survey-level sampling)