calculate components of hdr box and rug plot

stat_hdr(
  mapping = NULL,
  data = NULL,
  geom = "hdr_rug",
  position = "dodge2",
  ...,
  coef = 1.5,
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE
)

Arguments

mapping

Default: NULL

data

Default: NULL

geom

PARAM_DESCRIPTION, Default: 'hdr_boxplot'

position

PARAM_DESCRIPTION, Default: 'dodge2'

...

...

coef

Default: 1.5

na.rm

Default: FALSE

show.legend

Default: NA

inherit.aes

Default: TRUE

Value

A [ggplot2::Stat] representing the data transformations with required mappings for plotting HDRs using [geom_hdr_boxplot()] and [geom_hdr_rug()].