geom_y_mean_label: Lines defined by mean value of y

View source: R/geom_y_mean_label.R

geom_y_mean_labelR Documentation

Lines defined by mean value of y

Description

Lines defined by mean value of y

Usage

geom_y_mean_label(
  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_mean_label() + geom_y_mean()

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