brms_sigma_2 | R Documentation |
Model of class brmsfit
brms_sigma_2
An object of class brmsfit
of length 23.
## Not run:
set.seed(123)
d <- data.frame(
Condition = rep(c("A", "B", "C"), each=30),
Participant = as.factor(rep_len(paste0("S", 1:5), 90)),
Response = rnorm(90)
)
brm(
bf(
Response ~ Condition + (Condition | Participant),
sigma ~ Condition + (Condition | Participant),
family = exgaussian()
),
data = d,
iter = 2000,
chains = 4,
cores = 4,
backend = "cmdstanr"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.