[R] bwplot: how to display response variables separately in same panel?

From: Chris Behr <cbehr_at_edesigndynamics.com>
Date: Thu 09 Feb 2006 - 08:14:04 EST


Hi -

I have two response variables 'y1' and 'y2' and a factor 'x'. I would like to create paired box-whiskers plots for y1~x and y2~x and labeled for the same x. the b-w plots would be side-by-side in the same panel - almost like a barchart with two parallel columns for the same x.

the code 'bwplot(y1+y2~x, outer=T)' gives me two side-by-side panels. this is ok, but not exactly what i am looking for. any ideas?

thanks, chris

Christopher Behr
Principal Analyst

eDesign Dynamics
www.edesigndynamics.com

4024 Calvert St. NW
Washington DC 20007
(202) 298-6437 (t/f)
(551) 998-4823 (c)



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 Thu Feb 09 08:35:15 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:26 EST