findPeaksAndValleys: Find the index of the peaks and valleys of the density...

View source: R/algoInvHist.R

findPeaksAndValleysR Documentation

Find the index of the peaks and valleys of the density estimation.

Description

Find the index of the peaks and valleys of the density estimation.

Usage

findPeaksAndValleys(Dens)

Arguments

Dens

(list) with density estimation (x values, y values)

Value

(list) specifying the index of the peaks and valleys of the density estimation.

Author(s)

Tatjana Ammer tatjana.ammer@roche.com


refineR documentation built on Sept. 11, 2024, 8:27 p.m.