mcmc_plot.brmcoda {multilevelcoda} | R Documentation |
MCMC Plots Implemented in bayesplot
Description
Call MCMC plotting functions implemented in the bayesplot package.
Usage
## S3 method for class 'brmcoda'
mcmc_plot(object, ...)
Arguments
object |
A |
... |
Further arguments passed to |
Value
A ggplot
object
that can be further customized using the ggplot2 package.
See Also
Examples
## Not run:
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)
## End(Not run)
[Package multilevelcoda version 1.3.0.2 Index]