[R] lattice barchart

Wilberforce will.parry at matrixknowledge.com
Tue Nov 17 11:01:13 CET 2009


I have a data frame with two factors and want to create panel barcharts with
one factor defining the panels and the other the vertical categories by
which I can count the rows of data in each combination of factors. How do I
do this?

I have been trying to use barchart(~factor1|factor2) but it does not give
the panels as I want them.

The data looks like this:

Factor1    Factor2
A             y
B             y
A             x
B             y   
C             x
etc...
-- 
View this message in context: http://old.nabble.com/lattice-barchart-tp26387179p26387179.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list