plot.peaks: Visualize extracted local extrema

Description Usage Arguments Details Value Author(s)

View source: R/plot.peaks.R

Description

Given the peaks object returned from FindPeaks, plot.peaks() displays the original data and locations of the detected local extrema.

Usage

1
2
## S3 method for class 'peaks'
plot(p)

Arguments

p

An object of type peaks returned from FindPeaks.

Details

Plot shows the raw data in black, moving average smoothed data (if requested) in green, and detected peaks in red.

Value

None.

Author(s)

Addison Klinke, agk38@case.edu


addisonklinke/rainflow documentation built on Aug. 23, 2020, 10:48 a.m.