View source: R/dist_histogram_analysis.R
find.local.maxima | R Documentation |
Find the peaks in a Kernel Density Estimate.
find.local.maxima(kde, thresh = 0.05, show = FALSE, ...)
kde |
The input Kernel Density Estimate |
thresh |
Threshold above which peaks are considered |
show |
Logical, should we display our work? |
... |
Additional arguments passed to |
A list with three elements:
X coordinates of the detected peaks
Y coordinates of the detected peaks
The indices in the original kde corresponding to the peaks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.