View source: R/smoother_functions.R
loess_smoother | R Documentation |
Function to smooth an x-y pair with loess (local regression).
loess_smoother(x, y, span = 0.75, degree = 2, surface = "interpolate")
x |
Numeric vector. |
y |
Numeric vector. |
span |
Smoother span. |
degree |
Degree of the polynomials to be used. |
surface |
A |
Numeric vector with the length of x
or y
.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.