View source: R/utilities-simulation-results.R
importResultsFromCSV | R Documentation |
Imports the simulation results from one or more csv files
importResultsFromCSV(simulation, filePaths)
simulation |
Instance of a simulation used to calculate the results |
filePaths |
Full path of result files to import. Typically only one file is provided but a list of files is sometimes available when the simulation was parallelized and computed on different machines |
simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
resultPath <- system.file("extdata", "res.csv", package = "ospsuite")
# Load the simulation
sim <- loadSimulation(simPath)
# Run the simulation
results <- importResultsFromCSV(sim, resultPath)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.