provides estimate_primary_mode_1d, which estimates the location of the primary mode by binary searching the bandwidth of kernel density estimation till there is just one mode.
1 | find_modes_in_density(dens_y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.