On Wed, 2005-02-02 at 14:29 -0600, [EMAIL PROTECTED] 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?
boxplot(force ~ cellnumber) See the formula method and the first example in ?boxplot HTH, Marc Schwartz ______________________________________________ R-help@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