

   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 the
        data in `x'.

   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, J. W. (1977).  Exploratory Data Analysis, Read-
        ing Massachusetts: Addison-Wesley.

   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))

