brms_mm_1 | R Documentation |
Model of class brmsfit
brms_mm_1
An object of class brmsfit
of length 19.
## Not run:
set.seed(123)
dat <- data.frame(
sid = c(1:300),
t1id = sample(200:215, 300, replace = TRUE),
t2id = 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(t1id, t2id)), data = dat)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.