Re: [R] Matrix barplot

From: Andreas Tille <>
Date: Fri, 25 Jul 2008 19:04:16 +0200 (CEST)

On Fri, 25 Jul 2008, Jim Lemon wrote:

> library(plotrix)

Well, if I try this in the example of the previous poster I get nicely rendered fonts - which is the only difference I noticed.

> # barp groups data in columns, not rows, so transpose
> barp(t(atdat[,2:4]),names.arg=atdat[,1],col=2:4)

While I could set matrices and vectors the same way as previousely suggested I would like to understand, why this leads to

   'height' must be a vector or a matrix

again. But that's purely accademical.

Kind regards



______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 25 Jul 2008 - 17:06:43 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 25 Jul 2008 - 17:32:34 GMT.

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

list of date sections of archive