[R] barplot for a categorial variable

kayj kjaja27 at yahoo.com
Thu Jul 31 00:14:25 CEST 2008


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 convert the categorial variable into
numeric values. Is there any way how to get the bar plot without doing the
conversion,

Thanks 
-- 
View this message in context: http://www.nabble.com/barplot-for-a-categorial-variable-tp18743744p18743744.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list