Saves the simulation results to csv file
Source:R/utilities-simulation-results.R
dot-saveResultsToCSV.Rd
Saves the simulation results to csv file
Examples
simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
# Load the simulation
sim <- loadSimulation(simPath)
# Add some outputs to the simulation
addOutputs("Organism|**|*", sim)
# Run the simulation
results <- runSimulations(sim)[[1]]
# Export the results to csv file
exportResultsToCSV(results, tempfile())