geom_normal_dist_zlines: Fits normal distribution based on standard deviation

geom_normal_dist_zlinesR Documentation

Fits normal distribution based on standard deviation

Description

Fits normal distribution based on standard deviation

Usage

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

Arguments

...

Examples

library(ggplot2)
ggplot(faithful, aes(x = waiting)) +
  geom_rug() +
  geom_histogram(aes(y = ..density..)) +
  geom_normal_dist(fill = "magenta") +
  geom_normal_dist_zlines() +
  facet_wrap(facets = vars( eruptions > 3 ), ncol = 1) +
  geom_normal_dist(q_min = .99)

ggplot(faithful, aes(x = waiting)) +
  geom_density() +
  geom_normal_dist(q_min = .05, q_max = 1-.05)

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