Skip to content
Back to formatted view

Raw Message

Message-ID: <AANLkTinm0KTm6q8FOM0ndJry_ZsMis_9m+Wvsbb5ugYp@mail.gmail.com>
Date: 2010-12-21T11:59:00Z
From: Robert Ruser
Subject: labels and barchart
In-Reply-To: <1292931615322-3145166.post@n4.nabble.com>

2010/12/21 Dieter Menne <dieter.menne at 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.