Learn R Programming

tis (version 1.39)

tisFilter: Linear Filtering on a Time Series

Description

Applies linear filtering to a univariate tis series or to each column separately of a multivariate tis series.

Usage

tisFilter(x, …)

Arguments

x

a univariate or multivariate time series.

arguments passed along to filter.

Value

A tis time indexed series with leading and trailing NA values stripped.

See Also

filter

Examples

Run this code
# NOT RUN {
x <- tis(1:100, start = c(2000,1), freq = 12)
tisFilter(x, rep(1, 3))
tisFilter(x, rep(1, 3), sides = 1)
tisFilter(x, rep(1, 3), sides = 1, circular = TRUE)
# }

Run the code above in your browser using DataLab