Re: [R] barplot as Trellis graphic

From: Agustin Lobo <>
Date: Thu, 27 Mar 2008 18:47:04 +0100

Thanks, it was a matter of reshaping the data matrix as I usually have it, ie:
datos <-

to become:

datos2 <-

and then

I get horizontal lines in the bars that I do not understand, though.


Deepayan Sarkar escribió:
> On 3/26/08, Agustin Lobo <> wrote:

>> Dear list,
>>  Is there any way of making barplots as a Trellis graphic?

> Yes, the function to use is 'barchart'.
> -Deepayan
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Tel. 34 934095410
Fax. 34 934110012

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 27 Mar 2008 - 21:56:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 28 Mar 2008 - 15:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive