Description Usage Arguments Value Examples
Fits a bayesian IRT model.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
data |
Data in long format (i.e. composed with birtms::compose_data) |
formula |
A brms::formula (i.e. builded with birtms::build_formula) |
prior |
Bayesian priors in format of brms::prior |
cores |
Number of CPU cores used to fit the model |
file |
Path and name the fit object is saved for later reusage (will be loaded automatically if already exists) |
check_prior_influence |
Boolean |
preparing_bf |
Boolean |
add_waic |
Boolean |
add_loo |
Boolean |
refit |
Boolean |
variable_specifications |
A named list |
model_specifications |
A named list |
... |
Arguments passed to brms::brm |
birtsmsfit object
1 2 3 4 5 6 7 8 | ## Not run:
testdata <- birtms::compose_dataset(response_data = data_spm[1:100,], response_columns = i1:i12)
formula_1d_1pl <- birtms::build_formula()
fit_1d_1pl_spm1 <- birtms::birtm(data = testdata, formula = formula_1d_1pl,
file = '../inst/extdata/fit_1d_1pl_spm1')
fit_1d_1pl_spm1
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.