[R] questions about histogram

2009-01-28 Thread Wenxia Li
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

Re: [R] questions about histogram

2009-01-28 Thread Wenxia Li
it's a frequency histogram. The total area of the bars is 1, and the area of each bar represents its frequency, i.e. 25/50,10/50,10/50,5/50, respectively. And the width of the bars are different. On Jan 28, 2009, at 5:50 PM, Wenxia Li wrote: Hi all, I'm a new R user.