Plot ageing precision data

plot_age_precision(dat, n = 250, jitter = 0.25, seed = 42)

Arguments

dat

A data frame from tidy_age_precision().

n

Number of fish to randomly sample to plot.

jitter

Amount to randomly jitter ages for visualization. Same jitter values are used for the precision and primary ages for the same fish.

seed

If a numeric value, set the random seed so that the same rows are sampled each time and the same jitter values are generated. If NULL, different fish will be sampled each time the function is run.

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)
# }