This help topic is for R version 0.90. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/eda/html/smooth.html
smooth {eda}R Documentation

Median Smoothing

Description

This function applies the smoothing method 3RSR to x. 3R stands for Repeated running medians of 3.

Usage

smooth(x)

Arguments

x

a vector or time series

Value

A vector or time series containing the smoothed values. Note that there are other smoothing methods which provide rather better results.

References

Tukey (1977). E.D.A; see ref.\ in line.

See Also

lowess.

Examples

library(eda)
data(presidents)
presidents[is.na(presidents)] <- 0
plot(presidents)
lines(smooth(presidents))