Smoothing {StructuralDecompose}R Documentation

Smoothening of the time series

Description

Smoothening of the time series

Usage

Smoothing(timeseries, frequency = 52, smoothening_algorithm = "lowess", breaks)

Arguments

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

Value

The smoothened time series

Examples

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))

[Package StructuralDecompose version 0.1.1 Index]