This geom builds heavily on the answer by baptiste on the tidiverse github forum: https://github.com/tidyverse/ggplot2/issues/1399

geom_hypo_grob2(
  mapping = NULL,
  data = NULL,
  stat = "identity",
  position = "identity",
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = FALSE,
  ...
)

Arguments

mapping

Aesthetic mapping; ggplot2::aes()

data

data frame

stat

ggplot2 stat

position

string, "identity"

na.rm

logical

show.legend

logical

inherit.aes

logical

...

arguments passed to ggplot2::layer()