Create a subset of an item_pool
object:
pool[i]
subsetItemPool(pool, i)
Combine two item_pool
objects:
c(pool1, pool2)
combineItemPool(pool1, pool2)
pool1 + pool2
pool1 - pool2
excludes items in pool2
from pool1
.
pool1 == pool2
tests whether two item_pool
objects are identical.
subsetItemPool(x, i = NULL)
combineItemPool(x1, x2, unique = TRUE, verbose = TRUE)
# S4 method for class 'item_pool,numeric'
x[i, j, ..., drop = TRUE]
# S4 method for class 'item_pool'
c(x, ...)
# S3 method for class 'item_pool'
x1 + x2
# S3 method for class 'item_pool'
x1 - x2
# S3 method for class 'item_pool'
x1 == x2
an item_pool
object.
item indices to use in subsetting.
if TRUE
, remove items with duplicate IDs after combining. (default = TRUE
)
if TRUE
, raise a warning if duplicate IDs are found after combining. (default = TRUE
)
not used, exists for compatibility.