Tidy PBS ageing precision data

tidy_age_precision(dat, ageing_method_codes = NULL)

Arguments

dat

A data frame from get_age_precision()

ageing_method_codes

A numeric vector of ageing method codes to filter on. Default to NULL, which brings in all valid ageing codes. See get_age_methods().

Examples

# NOT RUN {
get_ageing_precision("shortraker rockfish") %>%
  tidy_ageing_precision() %>%
  plot_ageing_precision()

get_ageing_precision("pacific ocean perch") %>%
  tidy_ageing_precision() %>%
  plot_ageing_precision(n = 200)
# }# NOT RUN {
get_age_precision("yelloweye rockfish") %>%
 tidy_age_precision() %>%
 plot_age_precision()
# }