smoother: Dynamically Smooth Data

Description Usage Arguments Examples

View source: R/smoothing.R

Description

Takes an untidy (read: dygraph-appropriate) dataset and adds columns for each variable consisting of the smoothed, averaged mean.

Usage

1
smoother(dataset, smooth_level = "day", rename = TRUE)

Arguments

dataset

an untidy, dygraph-appropriate data.frame

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. TRUE by default

Examples

1
2
3
4

wikimedia/wikimedia-discovery-polloi documentation built on Dec. 4, 2019, 2:12 p.m.