Skip to contents

Plot selected basin variable aggregated by defined time step

Usage

plot_basin_var(sim_verify, var, period = "day", fn_summarize = "mean")

Arguments

sim_verify

Simulation output of the function run_swat_verification(). To plot the climate outputs at least the output option outputs = 'wb' must be set in run_swat_verification().

var

Character which defines the variable to be printed

period

(optional) character describing, which time interval to display (default is "day", other examples are "week", "month", etc). Default = "day"

fn_summarize

(optional) function to recalculate to time interval (default is "mean", other examples are "median", "sum", etc). Default = "mean"

Value

plotly figure object

Examples

if (FALSE) { # \dontrun{
plot_basin_var(sim_nostress, "percn")
} # }