Skip to contents

Runs a sensitivity analysis

Usage

runSensitivityAnalysis(
  sensitivityAnalysis,
  sensitivityAnalysisRunOptions = NULL
)

Arguments

sensitivityAnalysis

Instance of a SensitivityAnalysis to run

sensitivityAnalysisRunOptions

Optional instance of a SensitivityAnalysisRunOptions used during the sensitivity analysis run

Value

SimulationResults (one entry per Individual)

Examples

simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
sim <- loadSimulation(simPath)

# Create a new sensitivity object for the simulation
sensitivity <- SensitivityAnalysis$new(sim)

# Runs the sensitivity analysis
results <- runSensitivityAnalysis(sensitivity)