summary.pivot_coord | R Documentation |
brmsfit
model from a pivot_coord
objectCreate a Summary of a fitted brmsfit
model from a pivot_coord
object
## S3 method for class 'pivot_coord'
summary(object, digits = 2, ...)
object |
An object of class |
digits |
A integer value used for number formatting. Default is |
... |
currently ignored. |
A data table of results.
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")
m_pb <- pivot_coord(m)
summary(m_pb)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.