On 7/10/07, Sundar Dorai-Raj <[EMAIL PROTECTED]> wrote: > > > Michael Hoffman said the following on 7/10/2007 7:06 AM: > > barchart(Titanic, stack=F) produces a very nice horizontal barchart. > > Each panel has four groups of two bars. > > > > barchart(Titanic, stack=F, horizontal=F) doesn't produce the results I > > would have expected, as it produces this warning message: > > > > Warning message: > > y should be numeric in: bwplot.formula(x = as.formula(form), data = > > list(Class = c(1, > > > > And it results in each panel having 22 groups of 0-2 bars. > > > > How can I produce something just like the original except with the > > orientation changed? > > > > Thanks in advance. > > > > Hi, Michael, > > It seems that barchart.table doesn't allow the horizontal = FALSE > argument. With a slight modification to barchart.table this can be > accomplished.
Thanks Sundar. This seems like a reasonable feature; I'll add it in the next update. -Deepayan ______________________________________________ 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 and provide commented, minimal, self-contained, reproducible code.