findPeak {retimer}R 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


[Package retimer version 0.1.3 Index]