fit <- brm(rating ~ 0 + trait + trait:(period + carry + treat) + (0+trait|subject),
data = inhaler, family = categorical(), prior = set_prior(“normal(0,5)”))
Is it possible to change the contrast level for model fitting such that it is level 4 rather than level 1, for example? Given that objects saved as factors in R can’t be processed in Stan, I’m unsurprised that the standard relevel() and C() tricks don’t work. Thanks!
- Operating System: Windows 10 64 bit
- brms Version: 2.3.1