Call MCMC plotting functions implemented in the bayesplot package.
Arguments
- object
A
brmcoda
class object.- ...
Further arguments passed to
mcmc_plot.brmsfit
.
Value
A ggplot
object
that can be further customized using the ggplot2 package.
Examples
if (FALSE) { # \dontrun{
cilr <- complr(data = mcompd, sbp = sbp,
parts = c("TST", "WAKE", "MVPA", "LPA", "SB"), idvar = "ID")
# model with compositional predictor at between and within-person levels
fit <- brmcoda(complr = cilr,
formula = Stress ~ bilr1 + bilr2 + bilr3 + bilr4 +
wilr1 + wilr2 + wilr3 + wilr4 + (1 | ID),
chain = 1, iter = 500)
mcmc_plot(fit)
} # }