

   MMeeddiiaann SSmmooootthhiinngg

        smooth(x)

   AArrgguummeennttss::

          x: a vector or time series

   DDeessccrriippttiioonn::

        This function applies the smoothing method 3RSR to `x'.
        3R stands for Repeated running `median's of 3.

   VVaalluuee::

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

   RReeffeerreenncceess::

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

   SSeeee AAllssoo::

        `lowess'.

   EExxaammpplleess::

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

