brms_mixed_3.Rd
Model of class brmsfit
brms_mixed_3
An object of class brmsfit
of length 20.
# NOT RUN { set.seed(123) sleepstudy$grp <- sample(1:5, size = 180, replace = TRUE) sleepstudy <- sleepstudy %>% group_by(grp) %>% mutate(subgrp = sample(1:15, size = n(), replace = TRUE)) brms::brm(Reaction ~ Days + (1 | grp / subgrp) + (1 | Subject), data = sleepstudy) # }