# filter

From timeSeries v3022.101.2
by Tobias Setz

##### Linear Filtering on a Time Series

Applies linear filtering to a univariate 'timeSeries'.

##### Value

- A 'timeSeries' object without missing values.

##### Examples

`library(timeSeries)`

```
## Creata a Dummy Signal 'timeSeries' -
data <- matrix(rnorm(100), ncol = 2)
s <- timeSeries(data, units=c("A", "B"))
head(s)
## Filter the series -
f <- filter(s, rep(1, 3))
head(f)
## Plot and Compare the first series -
plot(cbind(s[, 1], f[, 1]), plot.type="s")
```

*Documentation reproduced from package timeSeries, version 3022.101.2, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.