Description Usage Arguments Value Examples
View source: R/parsnip_style_functions.R
irt() is used to describe a model, it must be used in conjunction with set_engine(), and fit_wizirt().
1 2 3 4 5 6 7 |
mode |
Must be "regression" currently. |
item_type |
Character. Must be one of "Rasch", "1PL", "2PL" or "3PL". |
rownames |
Optional unique row IDs for the data (i.e. examinee IDs). If omitted, uses 1:nrow(data). |
tol |
Numeric. Convergence criterion. Currently only implemented when engine is mirt. |
abs_fit |
Logical. Should absolute fit statistics be calculated? Increases time for estimation. Currently supported engine is "mirt". |
An object to be passed to fit_wizirt()
1 2 3 4 | data("responses")
my_model <- irt(item_type = "Rasch") %>%
set_engine(engine = "mirt") %>%
fit_wizirt(data = responses[, -1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.