drawSmooth: Deprecated: use 'ggplot2::geom_smooth' instead.

View source: R/functions.R

drawSmoothR Documentation

Deprecated: use ggplot2::geom_smooth instead.

Description

Deprecated: use ggplot2::geom_smooth instead.

Usage

drawSmooth(
  graph = NULL,
  dat = NULL,
  mapping = NULL,
  size = 2,
  method = "auto",
  color = "gray",
  show.legend = FALSE,
  se = FALSE,
  alpha = 1,
  ...
)

Arguments

graph

ggplot2 object

dat

data frame

mapping

mapping from aes

size

size

method

statistical method to draw regression line (e.g., lm)

color

line color

show.legend

show legend?

se

show standard errors?

alpha

transparency

...

other arguments to geom_smooth


jasp-stats/jaspGraphs documentation built on April 5, 2025, 3:49 p.m.