[R] Histogram and moving average

Vallat Morgan morgan.vallat at epfl.ch
Tue Apr 14 13:58:31 CEST 2009


Hi everyone,

I have a 'basic' issue and hope someone has a bit of code to solve it. I
have two populations plotted as histograms on the same figure. Basically I want to add the moving average (based on hist) for both populations on my graph. I'm also interested in the x coordinate of the curves intersection. Any thoughts?

Your help would be much appreciated!
Thanks,

Gan



More information about the R-help mailing list