[R] categorized barplot

Rafael Moral rafa_moral2004 at yahoo.com.br
Thu Aug 20 20:29:25 CEST 2009


Dear useRs,

I can't seem to find out how to categorize my histogram.

I have the following dataset:

Time            First.day  Second.day
08:00-10:00        9             8
10:00-12:00       13           15
12:00-14:00        9             9
14:00-16:00       10            9

I attached a jpeg file to this e-mail containing the sketches.
What I'd like to do is a barplot (or histogram), firstly with 2 categories - first and second day (figure 1)
And then with 4 categories - the times (figure 2)
Also, I'd like the graphs both with lines (as sketched) and bars.

Thanks in advance,
Kind regards,

Rafael.


      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com


More information about the R-help mailing list