Plot natural mortality (M) by age.
Usage
plot_natural_mortality(
fit = NULL,
object = NULL,
posterior = NULL,
probs = c(0.025, 0.975),
color = "#00BFC4",
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
A numeric vector of probabilities with values in
[0,1]for plotting posterior quantiles. The default isc(0.025, 0.975).- color
Color used for the maximum-likelihood natural-mortality line and points.
- data
Legacy named alias for a model data list; supply
objectas well.
