[R] Boxplot by factors
Achim Zeileis
Achim.Zeileis at wu-wien.ac.at
Wed Feb 2 21:42:23 CET 2005
On Wed, 2 Feb 2005 14:29:49 -0600 msck9 at mizzou.edu wrote:
> Dear all,
> I have the following data format
>
>
> cellnumber force
> 1 100
> 1 230
> 1 100
> 1 200
> 1 130
> 1 210
> 2 179
> 2 298
> 2 400
> 2 500
> 2 600
> ...........
> I want to make a boxplot of the force according to the cellnumber.
> Here the cellnumber is actually a factor. It has 1, 2 two levels. How
> can I do that using boxplot?
Look at ?boxplot and also example(boxplot).
Hint: What you want is already described in the first line of that
example!
Z
> Thanks in advance
> Ming
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
More information about the R-help
mailing list