ts_fil_smooth: Time Series Smooth

View source: R/ts_fil_smooth.R

ts_fil_smoothR Documentation

Time Series Smooth

Description

Used to remove or reduce randomness (noise).

Usage

ts_fil_smooth()

Value

a ts_fil_smooth object.

Examples

# time series with noise
library(daltoolbox)
data(tsd)
tsd$y[9] <- 2*tsd$y[9]

# filter
filter <- ts_fil_smooth()
filter <- fit(filter, tsd$y)
y <- transform(filter, tsd$y)

# plot
plot_ts_pred(y=tsd$y, yadj=y)

tspredit documentation built on June 22, 2025, 5:07 p.m.