Plot fit to age frequency (AF) observations.
Usage
plot_af(
data,
object,
posterior = NULL,
probs = c(0.025, 0.975),
years = NULL,
fishery = "Indonesian",
iters = NULL,
...
)Arguments
- data
a
listcontaining the data that was passed toMakeADFun.- object
a
listspecifying the AD object created usingMakeADFun.- posterior
an
rstanobjected created using thetmbstanfunction.- probs
a numeric vector of probabilities with values in
[0,1]for plotting quantiles of the posterior distribution.- years
the years to plot.
- fishery
the fishery to plot (Indonesian or Australian).
- iters
The number of iterations to be extracted.
- ...
additional parameters passed on to
facet_wrap.
