iec.filter: Filter the given items down to the best N rows, as defined by...

Description Usage Arguments Value Examples

Description

Filter the given items down to the best N rows, as defined by the simulation.

Usage

1
iec.filter(balancedModuleIndices, simulation)

Arguments

balancedModuleIndices

A vector of indices, which are candidates for selection sorted by their value to the simulee.

simulation

An object defining the test that is being run.

Value

The balancedModuleIndices, filtered to the best N values.

Examples

1
2
3
  simulation = initSimulation(readRDS(system.file("example/passage-adaptive-wpm.rds", package = "CATSimulator")))
  balancedModuleIndices = sample(1:nrow(simulation$modules), 4)
  candidateModuleIndices = iec.filter(balancedModuleIndices, simulation)

yuehmeir2/CATSimulator documentation built on June 13, 2021, 7:02 p.m.