Plot catch (in thousands of tonnes) by year, season, and fishery.
Usage
plot_catch(
fit = NULL,
object = NULL,
posterior = NULL,
proj = NULL,
probs = c(0.05, 0.95),
plot_resid = FALSE,
data = NULL
)Arguments
- fit
An
sbt_fitobject. Stored MCMC is used by default when the plot supports posterior output.- object
Legacy RTMB objective used only with a legacy data-list input.
- posterior
Use
NULLto plot the fit's required embedded posterior summary, orFALSEfor point estimates only. External posterior objects are not accepted.- proj
A
matrixof projected catch values with dimensions matchingdata$catch_obs_ysf. Default isNULL.- probs
A numeric vector of length 2 with probabilities in
[0,1]for plotting quantiles of the posterior distribution. Default isc(0.05, 0.95).- plot_resid
A logical value indicating whether to plot the residuals instead of the catch. Default is
FALSE.- data
Legacy named alias for a model data list; supply
objectas well.
