From: Deepayan Sarkar (email@example.com)
Date: Fri 14 May 2004 - 05:51:31 EST
On Wednesday 12 May 2004 18:39, Neil Desnoyers wrote:
> I am attempting to produce a bar chart and am having some trouble
> with the panel.barchart command.
That's not really helpful. If you expect us to help, you will have to
tell us exactly what you did and why you are unhappy with the results.
> The definition of X is that it's the
> "proper extent of the bar". Is that the maximum value? Or is it the
> labels for my vertical axis, since the axes seem to be switched for
> this command?
It has nothing to do with the labels. In the usual formulation, the 'x'
values (in the formula y ~ x) are supposed to be heights of the bars.
There should be only one x-value for each y-value (for each panel), so
I'm not sure what you mean by 'maximum'.
> Is there a better/different command I should be using
> for barcharts (i.e. barplot)?
barplot also draws bar charts. It's difficult to say which is more
suitable for your purpose unless we know what you are trying to do.
Rfirstname.lastname@example.org mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:10 EST