Description Usage Arguments Value Examples
View source: R/f_plotting_results.R
This function allows plotting bar plots for the scenario results extracted and averaged from SWAT output files.
1 | plot_scenarios_bars(df, variable_name, filter_vec = c("_"))
|
df |
Data.frame of data extracted from output.rch and output.sub files and processed with get_diff_from_baseline function. Beside other columns has to have SCENARIO column, which join all information about scenario. |
variable_name |
Sting with the name of column to plot (example "NSURQt/y") |
filter_vec |
Vector, which allows to filter scenarios. Filtering could be done by AND providing vector members seperated by comma, or by OR seperating one vector member in many '|'. For example c("measure_40", "rcp45|rcp85", "2080_2099") this vector filter by AND and by OR. |
Bar plot
1 | ##plot_scenarios_bars(df, "NSURQt/y", c("measure_40", "rcp45|rcp85", "2080_2099"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.