Visualize posterior distributions for model parameters.
Usage
plot_posteriors(mcmc, obj, data, bounds, nsim = 1e+05, xlim_type = "posterior")
Arguments
- mcmc
output of mcmc from adfit
- obj
the TMB or RTMB model object
- data
data inputs to model
- bounds
data frame with columns lower and upper
- nsim
number of sims for posterior histogram
- xlim_type
default = "posterior", or "bounds"