stanmvreg_1 | R Documentation |
Model of class stanmvreg
stanmvreg_1
An object of class stanmvreg
(inherits from stanreg
, lmerMod
) of length 20.
## Not run:
library(rstanarm)
stan_mvmer(
formula = list(
logBili ~ year + (1 | id),
albumin ~ sex + year + (year | id)
),
data = pbcLong,
# this next line is only to keep the example small in size!
chains = 1, cores = 1, seed = 12345, iter = 1000
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.