findPeak | R Documentation |
Find the mode of numeric vector using the peak of its density distribution.
findPeak(x, ...)
x |
a numeric vector |
... |
further arguements to be passed to 'density' |
Returns the value of 'x' that corresponds to the peak of the density curve.
density
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.