Description Usage Arguments Value Examples
If there is one mode on either side of zero, then this function attempts to return the location of those two modes. If there is only one mode, the function attempts to return the location of that mode. The algorithm is based on optimizing over the negative numbers, then over the positive numbers, and seeing if either is on the boundary. This is not well tested.
1 | findModes(den, tol = 0.01)
|
den |
output of |
tol |
tolerance when comparing modes with zero |
A vector with the location of one or two modes
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.