Description Usage Arguments Value Examples
Generate simulees and run them through the given simulation.
1 | runSimulation(simulation, simulees, progressCallback = NULL, showProgress = F)
|
simulation |
An object defining the test to be run. |
simulees |
A tibble of simulees defining id, true theta, and random number seed |
progressCallback |
A callback function that takes a single parameter, the number of completed simulees. |
show_progress |
A boolean indicating whether to write progress events to the console |
A tibble of simulee test output.
1 2 3 4 5 | options(warn=-1)
simulation = initSimulation(readRDS(system.file("example/workshop2pl-small-optimal.rds", package = "CATSimulator")))
simulation$control$solver = list(name = "lpsolve", external = F, mipGap = 0.0001, timeout = 1000, verbose = F)
simulees = generateSimuleesByTrueTheta(-2:2, 10001:10005)
simulationOut = runSimulation(simulation, simulees)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.