View source: R/effective_functions.r
loess_args | R Documentation |
Makes arguments that serve as input to 'ggplot2::geom_smooth()'.
loess_args(
method = "loess",
formula = NULL,
se = FALSE,
na.rm = TRUE,
orientation = NA,
show.legend = NA,
inherit.aes = TRUE,
span = 0.75,
color = "black",
linetype = 2,
...
)
method |
Method used for the smooth, should be "loess". |
formula |
Alternative formula argument |
se |
Should standard error envelopes be plotted. |
na.rm |
Should data be listwise deleted before calculating smooth. |
orientation |
Orientation of the level |
show.legend |
Should the legend be shown, included by default if aesthetics are mapped. |
inherit.aes |
Should aesthetics from previous calls be inherited by the function. |
span |
The span of the smoother. |
color |
Color of the line. |
linetype |
Line type of the line. |
... |
Other arguments to be passed down. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.