find.optima: Description: find.optima

Description Usage Arguments Details Value Author(s) References Examples

Description

Detect optima, excluding very local optima below detection.threshold

Usage

1
find.optima(f, detection.threshold = 0, bw, x, detection.limit = 0)

Arguments

f

density

detection.threshold

detection threshold for peaks

bw

bandwidth

x

original data

detection.limit

ignore maxima that are below this value

Returns:

Details

Arguments:

Value

A list with the following elements: min minima max maxima

Author(s)

Leo Lahti leo.lahti@iki.fi

References

See citation('TBA')

Examples

1
#

Example output

Loading required package: ggplot2
Loading required package: moments
Loading required package: tgp
Loading required package: tseries

earlywarnings Copyright (C) 2011-2013 Vasilis Dakos and Leo Lahti
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the FreeBSD open source license. For more information, see http://www.early-warning-signals.org

earlywarnings documentation built on May 2, 2019, 9:55 a.m.