Adds geom_boxplot on top of existing layers (e.g. violin, jitter).
Outliers are suppressed by default.
Usage
fmt_boxplot(plot, boxplot.args = list(), inherit.aes = TRUE)Arguments
- plot
A ggplot, patchwork, or list of ggplots.
- boxplot.args
Named list of arguments passed to
ggplot2::geom_boxplot. Defaults includewidth = 0.3,alpha = 0.2,na.rm = TRUE.- inherit.aes
Whether to inherit aesthetics from the parent plot.
See also
Other plot formatting:
fmt_axis(),
fmt_bg(),
fmt_com(),
fmt_expand(),
fmt_his(),
fmt_legend(),
fmt_plot(),
fmt_point(),
fmt_ref(),
fmt_scale(),
fmt_strip(),
fmt_tag()


