Minimum level length checks
LevelCheck.Rd
Minimum level length checks
Arguments
- timeseries
Given time series
- level_length
Mean distance between two levels
- breaks
breakpoints returned
Examples
LevelCheck(timeseries = StructuralDecompose::Nile_dataset[,1], breaks = c(1,4,5))
#> [1] 0 100
LevelCheck(timeseries = runif(n = 50, min = 1, max = 10), breaks = c(1,4,5))
#> [1] 0 50