geom_x_mean_label.Rd
Lines defined by mean value of y
geom_x_mean_label( mapping = NULL, data = NULL, ..., x, na.rm = FALSE, show.legend = NA )
show.legend |
---|
library(ggplot2) ggplot(data = cars, mapping = aes(x = speed, y = dist)) + geom_point() + geom_x_mean() + geom_x_mean_label()