

   PPlloottttiinngg ffaaccttoorr vvaarriiaabblleess

        plot.factor(x, y, legend.text = levels(y),...)

   AArrgguummeennttss::

        x,y: numeric or factor.  `y' may be missing.

   legend.text: a vector of text used to construct a legend for
             the plot. Only used if `y' is present and a fac-
             tor.

        ...: Further arguments to `plot', see also `par'.

   DDeessccrriippttiioonn::

        This functions implements a ``scatterplot'' method for
        `factor' arguments of the generic `plot' function.
        Actually, `boxplot' or `barplot' are used when appro-
        priate.

   SSeeee AAllssoo::

        `plot.default', `plot.formula', `barplot', `boxplot'.

   EExxaammpplleess::

        data(plants)
        plot(plants)                             # -> plot.data.frame
        plot(weight ~ group, data=plants)        # numeric vector ~ factor
        plot(cut(weight,2) ~ group, data=plants) # factor ~ factor

