Skip to contents

For each survey year: the middle 95% of the estimates over the replicates (band or error bar), their mean, and the true catch or effort.

Usage

plot_spin_series(
  x,
  what = c("catch", "effort"),
  species = NULL,
  type = c("band", "bars"),
  show_truth = TRUE
)

Arguments

x

A cas_spins.

what

"catch" (one panel per species) or "effort" (one panel per segment).

species

Species to show (catch; default all).

type

"band" (estimates as a band, truth as a line) or "bars" (paired bars of the mean estimate and the truth, with the 95% range of the estimates).

show_truth

Draw the true catch or effort.

Value

A ggplot.