View source: R/substitution_rate_correction.R
modeFinder | R Documentation |
Find the mode (peak) of a univariate distribution.
modeFinder(x, bw = 0.1, from = 0, to = 5)
x |
A numeric vector or a kernel density estimate (KDE). |
bw |
Bandwidth for the KDE. Default is 0.1. |
from |
Starting point for mode search. Default is 0. |
to |
Ending point for mode search. Default is 5. |
The mode (peak) of the distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.