Description Usage Arguments Value Examples
Sort the given items by their value to the simulee, with the best item first.
1 | cbm.sort(eligibleModuleIndices, simuleeOut, simulation)
|
eligibleModuleIndices |
A vector of item module indices, which are eligible for selection. |
simuleeOut |
A tibble containing the in-progress simulee test output. |
simulation |
An object defining the test that is being run. |
The eligibleModuleIndices, sorted by their value to the simulee.
1 2 3 4 | simulation = initSimulation(readRDS(system.file("example/passage-adaptive-wpm.rds", package = "CATSimulator")))
simuleeOut = initSimulee(generateSimuleesByNormal(1), simulation)
eligibleModuleIndices = 1:nrow(simulation$modules)
balancedModuleIndices = cbm.sort(eligibleModuleIndices, simuleeOut, simulation)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.