compute highest density regions continuously over some conditioned variable

stat_hdrcde(
  mapping = NULL,
  data = NULL,
  geom = "hdr_boxplot",
  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 conditional HDRs using [geom_hdr_boxplot].