View source: R/StructuralDecompose.R
MeanCleaning | R Documentation |
Mean level checks
MeanCleaning(timeseries, mean_level = 0.5, breaks, frequency = 52)
timeseries |
Given time series |
mean_level |
Mean distance between two levels |
breaks |
breakpoints returned |
frequency |
Timeseries frequency, defaults to 12 points |
The series cleaned with the mean check
MeanCleaning(timeseries = StructuralDecompose::Nile_dataset[,1], breaks = c(1,4,5), frequency = 1) MeanCleaning(timeseries = runif(n = 50, min = 1, max = 10), breaks = c(1,4,5), frequency = 12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.