stamp_chisq_dist: Title

stamp_chisq_distR Documentation

Title

Description

Title

Usage

stamp_chisq_dist(
  mapping = NULL,
  data = NULL,
  position = "identity",
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  outline.type = "upper",
  ...
)

Arguments

...

Examples

library(ggplot2)
ggplot(cars, aes(x = dist)) +
  stamp_chisq_dist(alpha = .5, height = 1, fill = "magenta") +
  stamp_chisq_dist(x_min = -5, x_max = -1.96, height = 1) +
  stamp_chisq_dist(x_min = 1.98, x_max = 5, height = 1)

ggplot(cars, aes(x = dist)) +
  stamp_chisq_dist(x_min = -1, x_max = 1, color = "slateblue",
             color = "grey34", outline.type = "full") +
  stamp_chisq_dist(x_min = -2, x_max = 2, color = "slateblue", outline.type = "full") +
  stamp_chisq_dist(x_min = -3, x_max = 3, color = "slateblue", outline.type = "full") +
  stamp_chisq_dist(x_min = -4, x_max = 4, color = "slateblue", outline.type = "full") +
  stamp_chisq_dist(x_min = -15, x_max = 15, color = "slateblue", outline.type = "full")

EvaMaeRey/ggxmean documentation built on April 10, 2024, 6:32 p.m.