Deprecated: use ggplot2::geom_smooth instead.

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