Learn R Programming

TestDesign (version 1.7.0)

getIndexOfExcludedEntry: (Internal) Convert item IDs to item indices for exclusion

Description

getIndexOfExcludedEntry is an internal function for converting item IDs to item indices for exclusion.

Usage

getIndexOfExcludedEntry(exclude, constraints)

Value

getIndexOfExcludedEntry returns a length-nj list in the same structure, with its contents converted to item indices.

Arguments

exclude

a length-nj list, where each entry is a named list containing:

  • i item IDs to exclude for this examinee

  • s item set IDs to exclude for this examinee

constraints

a constraints object representing test specifications. Use loadConstraints for this.

Details

Notation:

  • nj the number of examinees