View source: R/xdata_functions.R
getXdataOfAdministered | R Documentation |
getXdataOfAdministered
is an internal function for obtaining constraint matrix-data of administered items/sets.
Specifically, it returns a constraint matrix-data that tells the solver to include items/sets that are already administered to the current examinee.
This is necessary for shadow-test assembly for adaptive test assembly.
getXdataOfAdministered(
simulation_constants,
position,
x,
groupings_record,
constraints
)
simulation_constants |
a named list containing simulation constants. |
position |
the item position, ranging from 1 to test length. |
x |
an |
groupings_record |
a list containing data on completed item sets. |
constraints |
a |
getXdataOfAdministered
returns a constraint matrix-data.
A constraint matrix-data is a named list containing the following:
xmat
a (nc, ni) matrix for the left-hand side in a MIP problem.
xdir
a length-nc) vector of relational operators, for comparing the two sides in a MIP problem.
xrhs
a length-nc) vector, for the right-hand side in a MIP problem.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.