View source: R/StructuralDecompose.R
Smoothing | R Documentation |
Smoothening of the time series
Smoothing(timeseries, frequency = 52, smoothening_algorithm = "lowess", breaks)
timeseries |
Given time series |
frequency |
Timeseries frequency, defaults to 12 points |
smoothening_algorithm |
Smoothening algorithm required |
breaks |
Breakpoints identified by the previous algorithm |
lowess |
Lowess smoothener |
The smoothened time series
Smoothing(timeseries = StructuralDecompose::Nile_dataset[,1], breaks = c(4, 50, 80)) Smoothing(timeseries = runif(n = 50, min = 1, max = 10), breaks = c(4, 20, 30))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.