Re: [R] categorized barplot

2009-08-21 Thread Jim Lemon
Rafael Moral wrote: Dear useRs, I can't seem to find out how to categorize my histogram. I have the following dataset: TimeFirst.day Second.day 08:00-10:009 8 10:00-12:00 13 15 12:00-14:009 9 14:00-16:00 109

Re: [R] categorized barplot

2009-08-20 Thread John Kane
I think you want a barplot. I don't see what a histogram will add. Your attachement seems to have been lost so I am just guessing what you might want but, assuming you have a data.frame try barplot(as.matrix(xx[,2:3]), beside = TRUE) dd <- t(as.matrix(xx[,2:3])) colnames(dd) <- xx[,1] barplo