Re: [R] Barplot - Can't figure it out

2005-02-18 Thread Petr Pikal
@stat.math.ethz.ch Subject: Re: [R] Barplot - Can't figure it out Ups, it should of course be barplot() in my mail, not boxplot:-) Kevin Wang wrote: Hi, T Petersen wrote: Hi, I have two catagorical vectors like this; x = c(1, 2, 4, 2, 1) y = c(2, 4, 2 ,4, 1) I

Re: [R] Barplot - Can't figure it out

2005-02-18 Thread T Petersen
are juxtaposed rather than stacked. -Original Message- From: T Petersen [mailto:[EMAIL PROTECTED] Sent: Friday, 18 February 2005 1:35 PM To: Kevin Wang Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Barplot - Can't figure it out Ups, it should of course be barplot() in my mail

Re: [R] Barplot - Can't figure it out

2005-02-18 Thread Achim Zeileis
than stacked. -Original Message- From: T Petersen [mailto:[EMAIL PROTECTED] Sent: Friday, 18 February 2005 1:35 PM To: Kevin Wang Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Barplot - Can't figure it out Ups, it should of course be barplot() in my mail

RE: [R] Barplot - Can't figure it out

2005-02-18 Thread BXC (Bendix Carstensen)
1:01 PM To: Petr Pikal Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Barplot - Can't figure it out Wow, I'm getting confused...The syntax Petr suggested does what I wanted, but things are stille wrong...Maybe a bug? Let me explain. I got two vectors: x = c(3, 3, 3, 4, 3, 4, 3, 4, 3

Re: [R] Barplot - Can't figure it out

2005-02-18 Thread Petr Pikal
: Friday, 18 February 2005 1:35 PM To: Kevin Wang Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Barplot - Can't figure it out Ups, it should of course be barplot() in my mail, not boxplot:-) Kevin Wang wrote: Hi, T Petersen wrote: Hi

Re: [R] Barplot - Can't figure it out

2005-02-18 Thread T Petersen
February 2005 1:35 PM To: Kevin Wang Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Barplot - Can't figure it out Ups, it should of course be barplot() in my mail, not boxplot:-) Kevin Wang wrote: Hi, T Petersen wrote: Hi, I have two catagorical

Re: [R] Barplot - Can't figure it out

2005-02-18 Thread Adaikalavan Ramasamy
. -Original Message- From: T Petersen [mailto:[EMAIL PROTECTED] Sent: Friday, 18 February 2005 1:35 PM To: Kevin Wang Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Barplot - Can't figure it out Ups, it should of course be barplot() in my mail

[R] Barplot - Can't figure it out

2005-02-17 Thread T Petersen
Hi, I have two catagorical vectors like this; x = c(1, 2, 4, 2, 1) y = c(2, 4, 2 ,4, 1) I want to set up a barplot with the catagories 1-4 horizontally and number of occurances vertically for each vector x,y. I've tried boxplot(table(x,y), beside=T) and boxplot(c(x,y), beside=T) among others,

Re: [R] Barplot - Can't figure it out

2005-02-17 Thread Kevin Wang
Hi, T Petersen wrote: Hi, I have two catagorical vectors like this; x = c(1, 2, 4, 2, 1) y = c(2, 4, 2 ,4, 1) I want to set up a barplot with the catagories 1-4 horizontally and number of occurances vertically for each vector x,y. I've tried boxplot(table(x,y), beside=T) and boxplot(c(x,y),

Re: [R] Barplot - Can't figure it out

2005-02-17 Thread T Petersen
Ups, it should of course be barplot() in my mail, not boxplot:-) Kevin Wang wrote: Hi, T Petersen wrote: Hi, I have two catagorical vectors like this; x = c(1, 2, 4, 2, 1) y = c(2, 4, 2 ,4, 1) I want to set up a barplot with the catagories 1-4 horizontally and number of occurances vertically for

RE: [R] Barplot - Can't figure it out

2005-02-17 Thread Mulholland, Tom
' is 'TRUE', then the values in each column are juxtaposed rather than stacked. -Original Message- From: T Petersen [mailto:[EMAIL PROTECTED] Sent: Friday, 18 February 2005 1:35 PM To: Kevin Wang Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Barplot - Can't figure it out

Re: [R] Barplot - Can't figure it out

2005-02-17 Thread T Petersen
:[EMAIL PROTECTED] Sent: Friday, 18 February 2005 1:35 PM To: Kevin Wang Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Barplot - Can't figure it out Ups, it should of course be barplot() in my mail, not boxplot:-) Kevin Wang wrote: Hi, T Petersen wrote: Hi, I have two catagorical vectors