peak | R Documentation |
Identify maxima of peaks in any 1D or 2D series, filter at desired threshold value.
peak(dat,level,plateau=F,genplot=T,verbose=T)
dat |
1 or 2 dimensional series. If 2 dimesions, first column should be location (e.g., depth), second column should be data value. |
level |
Threshold level for filtering peaks. By default all peak maxima reported. |
plateau |
Output plateau points not evaluated? If T, identified peaks will not be output. (T or F) |
genplot |
Generate summary plots? (T or F) |
verbose |
Verbose output? (T or F) |
ex=cycles(genplot=FALSE)
peak(ex,level=0.02)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.