Re: [R] barplot for a categorial variable

2008-07-30 Thread Bill.Venables
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kayj Sent: Thursday, 31 July 2008 8:14 AM To: r-help@r-project.org Subject: [R] barplot for a categorial variable Hi all, I have data with several columns and rows. one of the column is "Type" that can be either A, B, C or D. I ne

[R] barplot for a categorial variable

2008-07-30 Thread kayj
Hi all, I have data with several columns and rows. one of the column is "Type" that can be either A, B, C or D. I need to plot the "Type" variable as a bar plot where the x axis is the type A, B ,C or D and the y axis shows the percentage. I was not able to get a bar plot. it seems that I need to