Skip to content

Commit

Permalink
excel output for comaper scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
Oloo authored and Oloo committed May 22, 2024
1 parent 13b3aab commit 4122e72
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/compare_scenario.R
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ compare_scenario <- function(baseRun, outFile, oDir2){

results <- scenarioList %>% dplyr::bind_rows()

# Save results in excel
excel_output_path <- paste0(oDir2, "/scenario_comparison.xlsx")
write.xlsx(results, excel_output_path, overwrite = TRUE)

# Generate plots

for(i in 2:ncol(results)){

datos <- results %>% select(1, all_of(i))
Expand Down

0 comments on commit 4122e72

Please sign in to comment.