[R] Center labels on a boxplot

2004-03-10 Thread Gabor Grothendieck
How about something like this suitably fixed up: par(mfrow=c(1,3) for(i in 1:3) boxplot( data.frame( a=myDF1[myDF1[i]==1,4], b=myDF2[myDF2[i]==1,4]),xlab=i,ylim=c(0,25) ) __ [EMAIL PROTECTED] mailing list

Re: [R] Center labels on a boxplot

2004-03-10 Thread Marc Schwartz
On Wed, 2004-03-10 at 10:34, Andy Bunn wrote: Suppose that I have data on three species for a variable and datasets from two time periods. I want to make a boxplot of the first dataset and then add the second using 'at = ' and 'add = T' as in the example for 'boxplot.' Since the boxes are

Re: [R] Center labels on a boxplot

2004-03-10 Thread Thomas Petzoldt
Hello Andy, does mtext(c(SPP1, SPP2, SPP3), side=1, at=c(1,2,3)) complete your script? Thomas P. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!