MedianCleaning {StructuralDecompose}R Documentation

Median level checks

Description

Median level checks

Usage

MedianCleaning(timeseries, median_level = 0.5, breaks, frequency = 52)

Arguments

timeseries

Given time series

median_level

Median distance between two levels

breaks

Breaks identified

frequency

Timeseries frequency, defaults to 12 points

Value

The series cleaned with the median check

Examples

MedianCleaning(timeseries = StructuralDecompose::Nile_dataset[,1], breaks = c(1,4,5))

MedianCleaning(timeseries = runif(n = 50, min = 1, max = 10), breaks = c(1,4,5))

[Package StructuralDecompose version 0.1.1 Index]