2010/12/21 Dieter Menne <dieter.me...@menne-biomed.de>:
> Standard graphics has fallen a bit out of favor because of these quirks. Try
> lattice:
>
> library(lattice)
> x <- seq(20, 100, by=15)
> ety <- paste("Effect on treatment group",1:length(x))
> barchart(ety~x)
>
> Note that the ety labels must be different to make this work. With your
> original data, you only get one bar (and I needed some time to find out what
> was wrong).

Thank you. I know that lattice in some circumstances is better but I
find traditional graphics more controllable.

______________________________________________
R-help@r-project.org 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.

Reply via email to