stanreg_lmerMod_5 | R Documentation |
Model of class stanreg
stanreg_lmerMod_5
An object of class stanreg
(inherits from glm
, lm
, lmerMod
) of length 27.
## Not run:
dat <- iris
dat$Cat1 <- rep(c("X", "X", "Y"), length.out = nrow(dat))
dat$Cat2 <- rep(c("A", "B"), length.out = nrow(dat))
rstanarm::stan_lmer(Petal.Width ~ Cat1 + (1 + Cat1 | Species), data = dat)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.