Skip to content
Back to formatted view

Raw Message

Message-ID: <cf29fdc90902111010y294f7572y601d03aefcceb7a@mail.gmail.com>
Date: 2009-02-11T18:10:55Z
From: phoebe kong
Subject: bar plot/ histogram

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