Ported from multinma::plot.stan_nma() (Phillippo et al. 2020), which hands
the posterior draws to bayesplot. Diverging transitions, a high maximum
Rhat, or a low effective sample size all mean the posterior has not been
explored, and nothing downstream of it is trustworthy.
Arguments
- x
A
cmlnmr()fit.- y
Unused, for compatibility with the
plot()generic.- ...
Passed to the underlying
bayesplotfunction.- type
"trace"(default),"density","hist","pairs","rhat", or"neff".- pars
Character vector of parameter names to show. Defaults to the component effects
beta, the interactionsgamma, and, for a random-effects model, the heterogeneitytau.