mat_geom_lm: geom_lm: enforce lm without se

Description Usage Arguments Examples

View source: R/ggplot.R

Description

geom_lm: enforce lm without se

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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

1
2
3
4
library(ggplot2)
ggplot(mpg, aes(displ, hwy)) +
  geom_point() +
  mat_geom_lm()

MatthieuStigler/matPkg documentation built on Aug. 10, 2021, 11:01 a.m.