Hi I am using R to analyze data from output of my simulation. I am using hist function to generate pdf’s the exact command i give is
hist(data_delay$delay,freq=F)
In my understanding the values the y axis of the chart should be less then 1, all the counts on Y-Axis should add up to 1. But unfortunately I am not getting random range at Y-Axis, sometimes values in 1000’s.
I am attaching my sample input file. In this the Y-Axis values are in the range of 0 to 100.
Thank you for all the help you can provide.
My data is as follows
http://www.mediafire.com/?twyoseg8bai0dr7
According to the
histdocumentation, whenfreq=FALSE, “the histogram has a total area of one”. It does not say that the height of every bar should be less than one. The histogram created with your command and data does have a total area of 1.The breaks are equally spaced 0.005 apart, so we can see the total area in the histogram by doing the following.