Re: [R] Need to compute density as done by panel.histogram

2011-08-03 Thread Sébastien Bihorel
Thank you very much Peter, I'm going to dig deeper into the code of the functions you've listed. On Wed, Aug 3, 2011 at 6:57 AM, Peter Ehlers wrote: > On 2011-08-02 11:51, Sébastien Bihorel wrote: > >> Hi, >> >> This might be a simple problem but I don't know how to calculate a random >> varia

Re: [R] Need to compute density as done by panel.histogram

2011-08-03 Thread Peter Ehlers
On 2011-08-02 11:51, Sébastien Bihorel wrote: Hi, This might be a simple problem but I don't know how to calculate a random variable density the way panel.histogram does it before it creates the actual density rectangles. The documentation says that it uses the density function but the actual co

[R] Need to compute density as done by panel.histogram

2011-08-02 Thread Sébastien Bihorel
Hi, This might be a simple problem but I don't know how to calculate a random variable density the way panel.histogram does it before it creates the actual density rectangles. The documentation says that it uses the density function but the actual code suggests that the hist.constructor function (