brms_corr_re1 | R Documentation |
Model of class brmsfit
brms_corr_re1
An object of class brmsfit
of length 19.
## Not run:
df <- data.frame(x = factor(rep(c('A', 'B'), each = 100)),
y = c(rnorm(100, mean = 0, sd = 1),
rnorm(100, mean = 10, sd = 5)),
id = factor(rep(1:100, 2)))
brm(
bf(y ~ x + (1 | i | id), sigma ~ x + (1 | i | id)),
data = df,
iter = 500,
cores = 4
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.