localMax: Local maximum

Description Usage Arguments Value Author(s)

View source: R/localMax.R

Description

Finds the local maximum.

Usage

1
localMax(x, min.max.prop = 0.1)

Arguments

x

a vector with numeric values

min.max.prop

the minimum height of the maximum to be considered. Default is 0.1, i.e. all maximum at least 10% as height as the highest maximum.

Value

a list with the local maximum position and height.

Author(s)

Jean Monlong


jmonlong/PopSV documentation built on Sept. 15, 2019, 9:29 p.m.