getIndexOfExcludedEntry function

(Internal) Convert item IDs to item indices for exclusion

(Internal) Convert item IDs to item indices for exclusion

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

getIndexOfExcludedEntry(exclude, constraints)

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.

Returns

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

Details

Notation:

  • nj the number of examinees
  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2024-08-22