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