Aggregating values of single station to interactive monthly box plots
Source:R/plotting.R
plot_monthly.Rd
Aggregating values of single station to interactive monthly box plots
Arguments
- df
Dataframe with formatted data (Station, DATE, Variables and Values columns are needed). Data can be loaded with
load_template
function using 'xlsx' template file.- station
Character, indicating station ID, which should be selected for figure.
- variables
(optional) Character vector, variables/s, which should be in figure. Default is
variables = NULL
, which means all variables will be in figure.
Examples
if (FALSE) {
temp_path <- system.file("extdata", "calibration_data.xlsx", package = "SWATprepR")
cal_data <- load_template(temp_path)
plot_monthly(cal_data$data, station = "4")
}