Plot fit to tagging observations.
Usage
plot_tags(
data,
object,
posterior = NULL,
probs = c(0.025, 0.975),
years = NULL,
fishery = "Indonesian",
...
)Arguments
- data
A
listcontaining the data that was passed toMakeADFun.- object
A
listspecifying the AD object created usingMakeADFun.- posterior
An
rstanobject created using thetmbstanfunction for Bayesian inference. Default isNULL.- probs
A numeric vector of length 2 with probabilities in
[0,1]for plotting quantiles of the posterior distribution. Default isc(0.025, 0.975).- years
A numeric vector of years to plot. If
NULL(default), all years are plotted.- fishery
A character string specifying the fishery to plot. Options are
"Indonesian"or"Australian". Default is"Indonesian".- ...
Additional parameters passed on to
facet_wrap.
