stat_hdr: Stat for hdr box and rug plot

View source: R/stat-hdr.R

stat_hdrR Documentation

Stat for hdr box and rug plot

Description

calculate components of hdr box and rug plot

Usage

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()].


gghdr documentation built on Oct. 29, 2022, 1:16 a.m.