modeFinder {shinyWGD} | R Documentation |
modeFinder
Description
Find the mode (peak) of a univariate distribution.
Usage
modeFinder(x, bw = 0.1, from = 0, to = 5)
Arguments
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. |
Value
The mode (peak) of the distribution.
[Package shinyWGD version 1.0.0 Index]