control_tam: Control aspects of fitting a model in TAM

Description Usage Arguments Value Examples

View source: R/fit-tam.R

Description

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

Usage

1
2
3
4
5
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

1
2
3
4
5
6
control_tam(set_min_to_0 = TRUE,
            control = list(snodes = 0,
                           maxiter = 1000,
                           increment.factor = 1,
                           fac.oldxsi = 0),
            constraint = "items")

ItemResponseTrees documentation built on July 2, 2020, 2:25 a.m.