.saveResultsToCSV | R Documentation |
Saves the simulation results to csv file
.saveResultsToCSV(results, filePath)
results |
Results to export (typically calculated using |
filePath |
Full path where the results will be saved. |
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())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.