Description Usage Arguments Examples
Takes an untidy (read: dygraph-appropriate) dataset and adds columns for each variable consisting of the smoothed, averaged mean.
1 |
dataset |
an untidy, dygraph-appropriate |
smooth_level |
the level of smoothing. Options are "day", "week", "month", and "gam" (for smoothing via splines) |
rename |
whether to rename the fields once smoothed. |
1 2 3 4 | data(wdqs_usage)
smoother(wdqs_usage, "week")
smoother(wdqs_usage, "month")
smoother(wdqs_usage, "gam")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.