

   RRoobbuusstt LLiinnee FFiittttiinngg

        line(x, y)

        coefficients(tukeyline.obj)
        residuals(tukeyline.obj)
        fitted.values(tukeyline.obj)
        print(tukeyline.obj)

   AArrgguummeennttss::

        x,y: the arguments can be any way of specifying x-y
             pairs.

   DDeessccrriippttiioonn::

        This function fits a line robustly as recommended in
        John Tukey's book Exploratory Data Analysis.

   VVaalluuee::

        An object of class `tukeyline'.

        Methods are available for the generic functions `coef-
        ficients', `residuals', `fitted.values', and `print'.

   RReeffeerreenncceess::

        Tukey, J. W. (1977).  Exploratory Data Analysis, Read-
        ing Massachusetts: Addison-Wesley.

   SSeeee AAllssoo::

        `lm'.

   EExxaammpplleess::

        library(eda)
        data(cars)
        plot(cars)
        z <- line(cars)
        abline(coef(z))

