Skip to contents

Plot a boxplot using ggplot2

Usage

plot_boxplot(data, x, y, breaks, x_label, y_label)

Arguments

data

Data to plot (all data types recognised by ggplot2::geom_boxplot() like data.frame)

x

x-axis data, must be a Date object

y

y-axis data

breaks

Break points, must be a sequence of dates

x_label

x-axis label

y_label

y-axis label

Value

ggplot