[R] plotting box plots on same x

From: BJ <erithid_at_bellsouth.net>
Date: Sat 28 May 2005 - 00:17:30 EST

I am trying to construct a graph of 6 box plots of blood pressures. I want them to be on a single set of axis and I want the SBP to be ontop of the DBP. I have an array bp with the data in it and I tried


 boxplot(data.frame(a), main = "Blood Pressures", at=c(1,1,2,2,3,3), names=c("sit","","lie","","stand",""))

which is close to what I want, but it gives me a bunch of empty space at the end. is there a better way to do this to avoid this?

As always, Thank You. ~Erithid

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 Received on Sat May 28 00:34:25 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:11 EST