SaveSuiteResults.Rd
Save Experiment Suite Results As CSV File
SaveSuiteResults(results, filepath, scenario, run)
Results structure as returned by RunExperiments()
Location to write CSV file
Name of experiments scenario, as passed to RunExperiments()
Run ID
NULL (invisible)
if (FALSE) {
library(pacehrh)
pacehrh::InitializePopulation()
pacehrh::InitializeScenarios()
pacehrh::InitializeStochasticParameters()
pacehrh::InitializeSeasonality()
scenario <- "ScenarioName"
results <-
pacehrh::RunExperiments(
scenarioName = scenario,
trials = 100
)
runId <- 1
pacehrh::SaveSuiteResults(results, "results.csv", scenario, runId)
}