fit_wizirt: Run the irt model you described

Description Usage Arguments Value Examples

Description

fit_wizirt() runs a model that has been built with irt() and set_engine().

Usage

1
fit_wizirt(object, data, control = parsnip:::control_parsnip(), ...)

Arguments

object

An object from set_engine()

data

An Person x Items matrix or dataframe of dichotomous response values (e.g. correct/incorrect). Rows are persons and columns are items, one row per person, one column per item. No other information allowed.

Value

Returns a list of class wizirt. spec is a list of information for the parsnip backend. printing spec prints a summary of the model run. elapsed contains the time it took the model to run. fit contains the model information:

Examples

1
2
3
4
data("responses")
my_model <- irt(item_type = "Rasch") %>%
  set_engine(engine = "mirt") %>%
  fit_wizirt(data = responses[, -1])

Pflegermeister/wizirt documentation built on Nov. 22, 2020, 8:27 p.m.