Mean level checks
MeanCleaning.Rd
Mean level checks
Arguments
- timeseries
Given time series
- mean_level
Mean distance between two levels
- breaks
breakpoints returned
- frequency
Timeseries frequency, defaults to 12 points
Examples
MeanCleaning(timeseries = StructuralDecompose::Nile_dataset[,1], breaks = c(1,4,5), frequency = 1)
#> [1] 0 1 4 5 100
MeanCleaning(timeseries = runif(n = 50, min = 1, max = 10), breaks = c(1,4,5), frequency = 12)
#> [1] 0 1 4 5 50