depletePoolConstraint {eatATA}R Documentation

Use complete item pool.

Description

Creates constraints that assure that every item in the item pool is used (at least) once. Essentially a wrapper around itemUsageConstraint.

Usage

depletePoolConstraint(nForms, nItems = NULL, itemIDs = NULL)

Arguments

nForms

Number of forms to be created.

nItems

Number of items in the item pool [optional to create itemIDs automatically].

itemIDs

a character vector of item IDs in correct ordering, or NULL.

Value

A sparse matrix.

Examples

depletePoolConstraint(2, itemIDs = 1:10)


[Package eatATA version 1.1.2 Index]