geom_x_median: Lines defined by median value of x

View source: R/geom_x_median.R

geom_x_medianR Documentation

Lines defined by median value of x

Description

Lines defined by median value of x

Usage

geom_x_median(
  mapping = NULL,
  data = NULL,
  ...,
  x,
  na.rm = FALSE,
  show.legend = NA
)

Arguments

show.legend

Examples

library(ggplot2)
ggplot(data = cars, mapping = aes(x = speed, y = dist)) +
geom_point() + geom_x_median()

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