findPeak: findPeak

View source: R/findPeak.R

findPeakR Documentation

findPeak

Description

Find the mode of numeric vector using the peak of its density distribution.

Usage

findPeak(x, ...)

Arguments

x

a numeric vector

...

further arguements to be passed to 'density'

Value

Returns the value of 'x' that corresponds to the peak of the density curve.

See Also

density


retimer documentation built on April 4, 2025, 2:04 a.m.