[R] bar plot/ histogram
phoebe kong
sityeekong at gmail.com
Wed Feb 11 19:10:55 CET 2009
Hi all,
I would like to construct plot of the distribution of N, where N range
from 1 to 10. I couldn't just use the hist(), as I want the categories
for the bars are: 1, 2, 3, 4, >=5. So this will be a bar plot with 5
bars, and the height of the bar will be the frequency of N. (eg bar#1
will be the frequency of N=1, bar #2 will be frequency of N=2, and
bar#5 will be the frequency of N>=5).
Thanks in advance for your help!
SY
More information about the R-help
mailing list