Description Usage Arguments Value Examples
View source: R/selectionEG_helpers.R
Find modes in a multimodal distribution of values based on the density of such values.
1 |
density |
object of class density obtained using the function
|
A data.frame containing the values corresponding to the modes and the density for those particular values.
1 2 3 4 5 6 7 8 | # Data
data("dist_list", package = "biosurvey")
dens <- density(dist_list$`12`)
# Finding modes
modes <- find_modes(density = dens)
modes
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.