Skip to content
Prev 163534 / 398506 Next

boxplot via plot command

Hi,
Antje <niederlein-rstat <at> yahoo.de> writes:
You can follow this through the various methods.  If you look
at plot.data.frame  

getAnywhere(plot.data.frame)  

You'll see that when the data.frame has only 2 columns, it
calls plot with the first two arguments.  Since the first argument
here is a factor, it dispatches to the plot.factor method

getAnywhere(plot.factor)

from which you'll see that under your circumstances it will call 
boxplot

HTH,

Ken