geom_y_line: Lines defined by values of y

View source: R/geom_y_line.R

geom_y_lineR Documentation

Lines defined by values of y

Description

Lines defined by values of y

Usage

geom_y_line(
  mapping = NULL,
  data = NULL,
  ...,
  y,
  na.rm = FALSE,
  show.legend = NA
)

Arguments

show.legend

Examples

library(ggplot2)
ggplot(data = cars, mapping = aes(x = speed, y = dist)) +
geom_point() + geom_y_line(alpha = .2)

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