mat_geom_lm: geom_lm: enforce lm without se

View source: R/ggplot.R

mat_geom_lmR Documentation

geom_lm: enforce lm without se

Description

geom_lm: enforce lm without se

Usage

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
)

Arguments

mapping, data, stat, position

Unchanged

...

As in geom_smooth

method, se

Arguments changed

formula, na.rm, show.legend, inherit.aes

Unchanged

Examples

library(ggplot2)
ggplot(mpg, aes(displ, hwy)) +
  geom_point() +
  mat_geom_lm()

MatthieuStigler/matPkg documentation built on Sept. 19, 2024, 5:19 a.m.