Description Usage Arguments Value
View source: R/Identify_Peaks.R
Given (x,y) pairs of datapoints, calculate peaks. This is the package interal function that does the heavy calculation. The function 'identify_peaks()' is the user friendly version of the function in which the user can just pass the imported data.
1 2 | identify_peaks_aux(x, y, method = "PoT", param = NA,
min_peak_length = 1, merge_peak_gap = 2)
|
x |
A vector x-values. |
y |
A vector of y-values. |
method |
A character string denoting which method to use. Valid options are: PeakSeg and PoT |
param |
A parameter controling how many peaks are detected. For PoT, it is the treshold. |
A data frame with columns 'Peak', 'Start', and 'End'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.