Re: [R] Finding density curve peak

From: Robert A LaBudde <>
Date: Sat, 02 Jun 2007 21:28:43 -0400

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:
Least Cost Formulations, Ltd.            URL:
824 Timberlake Drive                     Tel: 757-467-0954
Virginia Beach, VA 23464-3239            Fax: 757-467-2947

"Vere scire est per causas scire" mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sun 03 Jun 2007 - 01:32:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 03 Jun 2007 - 06:31:48 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.