Plot CPUE fit.
Usage
plot_cpue(data, object, posterior = NULL, probs = c(0.025, 0.975), nsim = 10)
Arguments
- data
a
list
containing the data that was passed toMakeADFun
.- object
a
list
specifying the AD object created usingMakeADFun
.- posterior
an
rstan
objected created using thetmbstan
function.- probs
a numeric vector of probabilities with values in
[0,1]
for plotting quantiles of the posterior distribution.- nsim
number of simulations to plot.