Description Usage Arguments Value
Applies the loess function to time series values and adds the fitted values to the data frame.
1 | smooth_mean(.data, key, .col = ".mean", span = 0.5, na.action = "na.exclude")
|
.data |
A data frame from a |
key |
Column to group by |
.col |
String with the name of the column to smooth, default is ".mean" |
span |
Parameter which controls the degree of smoothing |
na.action |
Action to be taken with missing values in the response or predictors. The default is "na.exclude". |
Returns a tibble
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.