Description Usage Arguments Details See Also
This function caculates LOESS (locally weighted regression) by given a dataframe.
1 | handle_loess_fordf(df, sp)
|
df |
The dataFrame contains series to be loess. |
sp |
Span parameter of loess() function. |
LOESS (locally weighted regression) is a technique which can smooth a series. It needs a explaining variable as exp, a response variable as resp, a parameter span. By using loess() function in stats package, this function can caculate LOESS value for every row in the input dataframe.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.