pairs.brmcoda: Create a matrix of output plots from a 'brmcoda"s 'brmsfit'...

View source: R/plot.R

pairs.brmcodaR Documentation

Create a matrix of output plots from a brmcoda's brmsfit object

Description

A pairs method that is customized for MCMC output.

Usage

## S3 method for class 'brmcoda'
pairs(x, ...)

Arguments

x

A brmcoda class object.

...

Further arguments passed to pairs.brmsfit.

See Also

pairs.brmsfit

Examples

## Not run: 
cilr <- compilr(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(compilr = cilr,
               formula = Stress ~ bilr1 + bilr2 + bilr3 + bilr4 +
                                 wilr1 + wilr2 + wilr3 + wilr4 + (1 | ID),
               chain = 1, iter = 500)
pairs(fit)

## End(Not run)

florale/multilevelcoda documentation built on April 21, 2024, 9:44 a.m.