Re: [R] Need help with barplots

2006-10-15 Thread Henric Nilsson
On 2006-10-13 10:55, David Barron wrote: First, produce two barplots for comparison: par(mfrow=c(2,1) ) barplot(VADeaths,beside=TRUE) barplot(VADeaths) The same information is in both plots; in the top, it is displayed as 5 separate bars for each group, and in the stacked plot it is

[R] Need help with barplots

2006-10-13 Thread laba diena
I`ve read all the manuals and still couln`t find what is the difference between the stacked and side-by-side barplots ? Could you explain me ? [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

Re: [R] Need help with barplots

2006-10-13 Thread Peter Dalgaard
laba diena [EMAIL PROTECTED] writes: I`ve read all the manuals and still couln`t find what is the difference between the stacked and side-by-side barplots ? Could you explain me ? Did you try par(ask=TRUE) example(barplot) -- O__ Peter Dalgaard Ă˜ster Farimagsgade 5,

Re: [R] Need help with barplots

2006-10-13 Thread David Barron
First, produce two barplots for comparison: par(mfrow=c(2,1) ) barplot(VADeaths,beside=TRUE) barplot(VADeaths) The same information is in both plots; in the top, it is displayed as 5 separate bars for each group, and in the stacked plot it is shown as 5 separate regions in each of the four