Description Usage Arguments Value Examples
Calculates the smallest value so that the gaussian kernel density estimate of the given data x
has k
modes.
The smaller you choose the bandwidth for a kernel density estimate, the larger the number of modes becomes. This function calculates the smallest value leading to a kernel density estimate with k
number of modes.
1 |
x |
vector of data |
k |
number of modes |
prec |
number of digits for precision of calculation |
density.fun |
A function that returns a vector of density estimates |
the smallest value so that the gaussian kernel density estimate of the given data x
has k
modes.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.