Skip to contents

Aggregating values of single station to interactive monthly box plots

Usage

plot_monthly(df, station, variables = NULL)

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.

Value

plotly object of interactive 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")
}