Skip to contents

Plot harvest rate by year, season, and age.

Usage

plot_hrate(
  fit = NULL,
  object = NULL,
  posterior = NULL,
  probs = c(0.025, 0.975),
  years = 2013L:2022L,
  data = NULL,
  ...
)

Arguments

fit

An sbt_fit object. This plot displays point estimates.

object

Legacy RTMB objective used only with a legacy data-list input.

posterior

Deprecated and ignored. Harvest-rate posterior extraction is not implemented because the full hrate_ysa report is too large to materialize for this diagnostic plot.

probs

Deprecated and ignored.

years

A numeric vector specifying the years to show on the plot. Default is 2013:2022.

data

Legacy named alias for a model data list; supply object as well.

...

Additional options passed on to geom_density_ridges.

Value

A ggplot2 object displaying harvest rate distributions by age, year, and season.