[R] Finding density curve peak

2007-06-02 Thread Davendra Sohal
Hi all, I have a dataset where I get a density curve of a continuous variable with two peaks. How can I get the peaks? Any simple solutions? Many thanks. -D. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

Re: [R] Finding density curve peak

2007-06-02 Thread Robert A LaBudde
At 07:34 PM 6/2/2007, Davendra wrote: I have a dataset where I get a density curve of a continuous variable with two peaks. How can I get the peaks? Any simple solutions? Plot the curve, and the use identify() and the mouse to click on the peaks.