[R] histogramm$density

2008-12-26 Thread austernkommunikation
hello, i am using the hist function with classified values. The class breaks are 1, so histogram$density is != 1. How to plot the histogram with freq=FALSE and the real class density values. I used: h2 = hist(value, breaks = breaks_vector) h2$density = round(h2$counts/sum(h2$counts), 2)

Re: [R] histogramm$density

2008-12-26 Thread Peter Dalgaard
austernkommunikat...@googlemail.com wrote: hello, i am using the hist function with classified values. The class breaks are 1, so histogram$density is != 1. How to plot the histogram with freq=FALSE and the real class density values. I used: h2 = hist(value, breaks = breaks_vector)