brms_mm_4 | R Documentation |
Model of class brmsfit
brms_mm_4
An object of class brmsfit
of length 23.
## Not run:
set.seed(123)
dat <- data.frame(
s1 = sample(200:215, 300, replace = TRUE),
s2 = sample(200:215, 300, replace = TRUE),
y = rnorm(300, mean = 85, sd = 8),
x = rnorm(300, mean = 50, sd = 10)
)
brm(y ~ x + (1 | mm(s1, s2)), data = dat)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.