stat_boxplot_custom: Modifies the ggplot geom_boxplot function to extend the...

View source: R/plot_tools.R

stat_boxplot_customR Documentation

Modifies the ggplot geom_boxplot function to extend the whiskers to a specific percentile instead of 1.5 QR. Copied from: https://gist.github.com/rabutler/bd97a6f49db87860f987156842fd4ee5

Description

Modifies the ggplot geom_boxplot function to extend the whiskers to a specific percentile instead of 1.5 QR. Copied from: https://gist.github.com/rabutler/bd97a6f49db87860f987156842fd4ee5

Usage

stat_boxplot_custom(
  mapping = NULL,
  data = NULL,
  geom = "boxplot",
  position = "dodge",
  ...,
  qs = c(0.05, 0.25, 0.5, 0.75, 0.95),
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE
)

Arguments

mapping
data
geom
position
...
qs
na.rm
show.legend
inherit.aes

simschul/my.utils documentation built on June 29, 2023, 6:50 a.m.