brms
modelsbrms
modelsbrm.pars(formula, data = NULL, family = "gaussian", partial = NULL,
threshold = "flexible", post.pred = FALSE, reffects = FALSE,
engine = "stan", ...)
as.data.frame
to a data frame) containing
the variables in the model. If not found in data, the variables are taken from environment(formula)
,
typically the e"gaussian"
, "student"
, "cauchy"
, ~ partial.effects
specifing the predictors that can vary between categories in non-cumulative ordinal models
(i.e. in families "cratio"
, "sratio"
, or "acat"
)."flexible"
provides the standard unstructured thresholds and "equidistant"
restricts the distance between consecutive thresholds tobrm
"stan"
(the default) or "jags"
. Specifies which program should be used to fit the model.
Note that jags
is currently implemented for testing purposes only, does not allow full functionalitbrms
package.brm.pars(rating ~ treat + period + carry + (1|subject),
data = inhaler, family = "cumulative")
Run the code above in your browser using DataLab