Skip to contents

Create a Summary of a fitted brmsfit model in a brmcoda object

Usage

# S3 method for class 'brmcoda'
summary(object, ...)

Arguments

object

An object of class brmcoda.

...

Other arguments passed to summary.brmsfit.

Examples

# \donttest{
if(requireNamespace("cmdstanr")){
  m <- brmcoda(complr = complr(data = mcompd, sbp = sbp,
                                 parts = c("TST", "WAKE", "MVPA", "LPA", "SB"),
                                 idvar = "ID", total = 1440),
  formula = Stress ~ bilr1 + bilr2 + bilr3 + bilr4 +
    wilr1 + wilr2 + wilr3 + wilr4 + (1 | ID),
  chain = 1, iter = 500,
  backend = "cmdstanr")
  
  summary(m)
}# }
#> Error: CmdStan path has not been set yet. See ?set_cmdstan_path.