Learn R Programming

Rwave (version 1.24-2)

smoothts: Smoothing Time Series

Description

Smooth a time series by averaging window.

Usage

smoothts(ts, windowsize)

Arguments

ts
Time series.
windowsize
Length of smoothing window.

Value

  • Smoothed time series (1D array).

References

See discussions in the text of ``Time-Frequency Analysis''.