geom_lm_fitted.Rd
Fitted values along ols line, points
geom_lm_fitted( mapping = NULL, data = NULL, position = "identity", na.rm = FALSE, show.legend = NA, inherit.aes = TRUE, ... )
... |
---|
library(ggplot2) ggplot(cars) + aes(x = speed, y = dist) + geom_point() + geom_lm() + geom_lm_fitted(color = "blue")