runSimulation
[Simulx] Run simulation
Run the simulation task.
Usage
runSimulation()
Details
As when clicking on SIMULATION in Simulx GUI, simulated values are saved as text files in a result folder which is located next to the project file when calling saveProject
.
To get the sampled parameters and simulated outputs as data frames, use getSimulationResults
.
To post-process the results by computing outcomes and endpoints, use runEndpoints
.
To run both the simulation and endpoint tasks, use setScenario
and runScenario
.
To get some output in the console showing the status of the simulation, use setConsoleMode
.
runSimulation does not generate charts data in the result folder even if the preference exportchartsdata is TRUE.
To generate charts data in the result folder at run, use runScenario
instead.
See also
Examples
initializeLixoftConnectors("simulx")
project_name <- file.path(getDemoPath(), "1.overview", "importFromMonolix_clinicalTrial.smlx")
loadProject(project_name)
setConsoleMode("basic")
runSimulation()