mat_geom_lm | R Documentation |
geom_lm: enforce lm without se
mat_geom_lm(
mapping = NULL,
data = NULL,
stat = "smooth",
position = "identity",
...,
method = "lm",
formula = y ~ x,
se = FALSE,
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE
)
mapping , data , stat , position |
Unchanged |
... |
As in geom_smooth |
method , se |
Arguments changed |
formula , na.rm , show.legend , inherit.aes |
Unchanged |
library(ggplot2)
ggplot(mpg, aes(displ, hwy)) +
geom_point() +
mat_geom_lm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.