Skip to content
Snippets Groups Projects
Commit 62ad6d0d authored by marius-lucas braun's avatar marius-lucas braun
Browse files

fixed naming of esub_cons plots

parent 7e829880
No related branches found
No related tags found
No related merge requests found
Showing
with 6 additions and 1 deletion
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -66,7 +66,12 @@ for(i in 1:length(params)) {
welf_effect = (get(welf_name))[welf_effect_name]
# if parameter is CO2factor: line plot, else histogram
plot_type = ifelse(params[i] == "CO2factor", "plot", "hist")
plot_type = ifelse(
params[i] == "CO2factor" |
params[i] == "esub_cons",
yes = "plot",
no = "hist"
)
# create plot name
plot_name = paste(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment