Category Specific Predictors in brms Models
Expression containing predictors, for which category specific effects should be estimated. For evaluation, R formula syntax is applied.
For detailed documentation see
as well as
This function is almost solely useful when called in formulas passed to the brms package.
## Not run: fit <- brm(rating ~ period + carry + cs(treat), data = inhaler, family = sratio("cloglog"), prior = set_prior("normal(0,5)"), chains = 2) summary(fit) plot(fit, ask = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.