Learn R Programming

ItemResponseTrees (version 0.2.5)

control_tam: Control aspects of fitting a model in TAM

Description

This function should be used to generate the control argument of the fit() function.

Usage

control_tam(
  set_min_to_0 = FALSE,
  control = list(snodes = 0, maxiter = 1000, increment.factor = 1, fac.oldxsi = 0),
  ...
)

Arguments

set_min_to_0

Logical. TAM::tam.mml() expects the data to be scored 0, ..., K. If set_min_to_0 = TRUE, the minimum of the data is subtracted from each response, which will likely both satisfy TAM and do no harm to the data.

control

List of arguments passed to argument control of TAM::tam.mml(). See examples below.

...

Other arguments passed to TAM::tam.mml().

Value

A list with one element for every argument of control_tam().

Examples

Run this code
# NOT RUN {
control_tam(set_min_to_0 = TRUE,
            control = list(snodes = 0,
                           maxiter = 1000,
                           increment.factor = 1,
                           fac.oldxsi = 0),
            constraint = "items")
# }

Run the code above in your browser using DataLab