Description Usage Arguments Details Author(s) References
Sample the original data with replacement and fit LOWESS curves accordingly.
1 | boot.lowess(x, y = NULL, f = 2/3, iter = 3, line.col = "#FF000033", ...)
|
x, y, f, iter |
passed to |
line.col |
the color of the LOWESS lines |
... |
other arguments passed to the scatterplot by |
We keep on resampling the data and finally we will see several bootstrapped LOWESS curves, which may give us a rough idea about a “confidence interval” of the LOWESS fit.
Yihui Xie
Examples at https://yihui.org/animation/example/boot-lowess/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.