stat_smooth_func: ggplot facet function with printed formula (non Plotly)

Description Usage Arguments Details Value

Description

This function prints linear formula used on each facet for ggplot. Refer to stat_smooth for description. Does not support Plotly.

Usage

1
2
3
4
5
stat_smooth_func(mapping = NULL, data = NULL, geom = "smooth",
  position = "identity", ..., method = "auto", formula = y ~ x,
  se = TRUE, n = 80, span = 0.75, fullrange = FALSE, level = 0.95,
  method.args = list(), na.rm = FALSE, show.legend = NA,
  inherit.aes = TRUE, xpos = NULL, ypos = NULL)

Arguments

mapping

...

data

...

geom

...

position

...

...

...

method

...

formula

...

se

...

n

...

span

...

fullrange

...

level

...

method.args

...

na.rm

...

show.legend

...

inherit.aes

...

xpos

...

ypos

...

Details

See this gist: https://gist.github.com/kdauria/524eade46135f6348140

Extra edits were made to fit the needs of this package.

Value

See stat_smooth.


Laurae2/Laurae documentation built on May 8, 2019, 7:59 p.m.