View source: R/depletePoolConstraint.R
depletePoolConstraint | R Documentation |
Creates constraints that assure that every item in the item pool is used
(at least) once. Essentially a wrapper around itemUsageConstraint
.
depletePoolConstraint(nForms, nItems = NULL, itemIDs = NULL)
nForms |
Number of forms to be created. |
nItems |
Number of items in the item pool [optional to create |
itemIDs |
a character vector of item IDs in correct ordering, or NULL. |
A sparse matrix.
depletePoolConstraint(2, itemIDs = 1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.