[R] boxplot grouped by two variables.

Jan Goebel jgoebel at diw.de
Tue Nov 21 11:47:02 CET 2000


you can make a new variable with the values A1, A2, A3, B1, B2 ...
and then do a boxplot and define you own axis-labels.

I guess it is not the most elegant way ...

Hope it helps


On Tue, 21 Nov 2000, Vadik Kutsyy wrote:

> Is there a quick way to make boxplots groups by two variables?  By that 
> I mean, that if x axes have values ("A","B","C"), than at each value 
> there would be a few boxplots each for a value of second variable (say 
> ("1","2","3")).

 Jan Goebel (mailto:jgoebel at diw.de)

 DIW Berlin 
 Longitudinal Data and Microanalysis
 Königin-Luise-Str. 5
 D-14195 Berlin -- Germany --
 phone: 49 30 89789-377
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list