Plot recruitment by year.
Usage
plot_recruitment(
fit = NULL,
object = NULL,
posterior = NULL,
probs = c(0.025, 0.975),
data = NULL
)Arguments
- fit
An
sbt_fitobject. Its stored MCMC is used by default.- 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.- probs
Numeric vector of posterior probabilities in
[0, 1].- data
Legacy named alias for a model data list; supply
objectas well.
See also
Other diagnostic plots:
plot_af(),
plot_biomass_spawning(),
plot_cpue(),
plot_gt(),
plot_hsps(),
plot_lf(),
plot_pops(),
plot_selectivity(),
plot_tags(),
plot_tags_residuals()
Examples
fit <- sbt_example_fit()
#> Warning: Dependency versions differ: RTMBdist, TMB
#> Warning: Dependency versions differ: RTMBdist, TMB
plot_recruitment(fit, posterior = FALSE)
