[R] Boxplot by factors

Zhen Pang nusbj at hotmail.com
Thu Feb 3 07:08:55 CET 2005


boxplot(force ~ cellnumber)


>From: msck9 at mizzou.edu
>To: r-help at stat.math.ethz.ch
>Subject: [R] Boxplot by factors
>Date: Wed, 2 Feb 2005 14:29:49 -0600
>
>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?
>
>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