Skip to content
Prev 168430 / 398502 Next

questions about histogram

Hi all,

I'm a new R user. I have the following information about a data set  
and how to make a histogram?
data             number of observations
0-2                     25
2-10                  10
10-100             10
100-1000          5

I tried barplot(height=...,width=...,...), the output looks right but  
the x-axis is missing. How to fix it?
Also can I use<hist> to draw it?

Thanks!

WX