Skip to content

Commit f2474bc

Browse files
committed
Export model parameterisation & improve plot
1 parent 997ec33 commit f2474bc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

vignettes/workflow_v2.Rmd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ param_grid <- param_grid_all_combinations %>%
127127
dplyr::filter(scenario_name %in% scenarios_with_single_parameter_variation)
128128
129129
DT::datatable(param_grid)
130+
131+
htmlwidgets::saveWidget(DT::datatable(parameters), "parameters.html")
132+
htmlwidgets::saveWidget(DT::datatable(param_grid), "param_grid.html")
130133
```
131134

132135
### Run Model
@@ -310,7 +313,7 @@ simulation_results[[s_name]]$element$states %>%
310313
ggplot2::facet_wrap(~ variable, nrow = 2, ncol = 2, scales = "free_y") +
311314
ggplot2::labs(title = sprintf("Scenario ID: %s",
312315
s_name),
313-
subtitle = sprintf("connected area: %d m2, mulde: area %d m2, height: %d mm; filter: kf: %d mm/h, height: %d mm; storage_height: %d mm, bottom_kf: %.2f mm/h; rain_factor: %.2f",
316+
subtitle = sprintf("connected area: %d m2, mulde: area %d m2, height: %d mm; filter: kf: %d mm/h, height: %d mm;\nstorage_height: %d mm, bottom_kf: %.2f mm/h; rain_factor: %.2f",
314317
selected_scenario$connected_area,
315318
selected_scenario$mulde_area,
316319
selected_scenario$mulde_height,

0 commit comments

Comments
 (0)