(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)
exclude
: a length-nj list, where each entry is a named list containing:
i
item IDs to exclude for this examinees
item set IDs to exclude for this examineeconstraints
: a constraints
object representing test specifications. Use loadConstraints
for this.
getIndexOfExcludedEntry
returns a length-nj list in the same structure, with its contents converted to item indices.
Notation: