[R] Finding density curve peak

Robert A LaBudde ral at lcfltd.com
Sun Jun 3 03:28:43 CEST 2007


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.

================================================================
Robert A. LaBudde, PhD, PAS, Dpl. ACAFS  e-mail: ral at lcfltd.com
Least Cost Formulations, Ltd.            URL: http://lcfltd.com/
824 Timberlake Drive                     Tel: 757-467-0954
Virginia Beach, VA 23464-3239            Fax: 757-467-2947

"Vere scire est per causas scire"



More information about the R-help mailing list