View source: R/geom_smooth_lm.R
geom_smooth_lm | R Documentation |
see tidyExt vignette
geom_smooth_lm(SE = T, p.colour = "black", ...)
Returns a ggplot.
require(ggplot2)
mpg |> ggplot2::ggplot(aes(cty,hwy)) + geom_point() + geom_smooth_lm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.