# NOT RUN {
# First simulation
studyPath <- "path/to/study/"
setSimulationPath(studyPath, 1)
mydata1 <- readAntares("all", "all", synthesis = FALSE)
surplus1 <- surplus(mydata1, groupByDistrict = TRUE)
# Second simulation
setSimulationPath(studyPath, 2)
mydata2 <- readAntares("all", "all", synthesis = FALSE)
surplus2 <- surplus(mydata2, groupByDistrict = TRUE)
compare(surplus1, surplus2)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab