geom_x_line: Lines defined by values of x

View source: R/geom_x_line.R

geom_x_lineR Documentation

Lines defined by values of x

Description

Lines defined by values of x

Usage

geom_x_line(
  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_line(alpha = .25) + aes(color = speed > 15)

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