irt: The main function of the advanced user interface (API) for...

Description Usage Arguments Value Examples

View source: R/fit_wizirt.R

Description

The main function of the advanced user interface (API) for wizirt. Must be used in conjunction with fit_wizirt to estimate the model.

Usage

1
irt(mode = "regression", item_type = NULL, irt_pars = TRUE)

Arguments

mode

Must be 'regression' for item response theory. A future version will add 'classification' for latent class analysis.

item_type

The type of IRT model to be run. A character vector of either 'Rasch' or '2PL'.

irt_pars

Logical. Should the parameters be traditional IRT parameterization?

Value

An object to be passed to 'fit_wizirt'.

Examples

1
2
3
my_model <- irt(item_type = 'Rasch') %>%
set_engine("ltm") %>%
fit_wizirt(data = responses)

Pflegermeister/wizirt2 documentation built on Oct. 23, 2020, 1:29 a.m.