Smoothing: Smoothening of the time series

View source: R/StructuralDecompose.R

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

StructuralDecompose documentation built on Feb. 16, 2023, 9:46 p.m.