nextItem: Computes next item to present while updating test parameters

Description Usage Arguments Details Value

View source: R/cat.R

Description

This function is a wrapping of different CAT functions. It updates the theta estimate, the theta error estimate, the score and the reliability test parameters, then computes next item to present.

Usage

1
nextItem(assessment, items, itemsResponses, itemsParameters)

Arguments

assessment

dataframe of assessment parameters (JSON : Object)

items

character: vector of items Ids (JSON : Array)

itemsResponses

numeric or NULL: matrix of items responses (JSON : Array of objects with items Ids)

itemsParameters

numeric: matrix of all available items parameters (JSON : Array of objects)

Details

The itemsResponsescan be NULL if we are looking for the first item to present.

Value

list of updated inputs (JSON: Object)


LearningRaph/felix documentation built on Nov. 22, 2019, 8:07 a.m.