geom_lm.Rd
ordinary least squares model
geom_lm(formula = y ~ x, ...)
library(ggplot2) ggplot(cars) + aes(x = speed, y = dist) + geom_point() + geom_lm()