smooth.exp: Apply an exponential filter

Description Usage Arguments Details Value Examples

View source: R/itsmr.R

Description

Apply an exponential filter

Usage

1
smooth.exp(x, alpha)

Arguments

x

Time series data

alpha

Smoothness setting, 0-1

Details

Zero is maximum smoothness.

Value

Returns a vector of smoothed data the same length as x.

Examples

1
2

itsmr documentation built on Sept. 11, 2018, 1:05 a.m.