

   MMeeddiiaann SSmmooootthhiinngg

        smooth(x)

   AArrgguummeennttss::

          x: a vector or time series

   DDeessccrriippttiioonn::

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

   VVaalluuee::

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

   RReeffeerreenncceess::

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

   SSeeee AAllssoo::

        `lowess'.

   EExxaammpplleess::

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

