Rev 2558 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{smooth}\title{Median Smoothing}\usage{smooth(x)}\arguments{\item{x}{a vector or time series}}\description{This function applies the smoothing method \emph{3RSR}to \code{x}. \emph{3R} stands for \bold{R}epeated running\code{\link{median}}s of \bold{3}.}\value{A vector or time series containing the smoothed values.Note that there are other smoothing methods which providerather better results.}\references{Tukey (1977). \emph{E.D.A}; see ref.\ in \code{\link{line}}.}\seealso{\code{\link{lowess}}.}\examples{library(eda)data(presidents)presidents[is.na(presidents)] <- 0plot(presidents)lines(smooth(presidents))}\keyword{robust}\keyword{smooth}