find_peaks {shinyWGD} | R Documentation |
Find Peaks in a Numeric Vector
Description
This function identifies peaks in a numeric vector by analyzing the shape of the curve.
Usage
find_peaks(x, m = 3)
Arguments
x |
A numeric vector in which peaks will be identified. |
m |
An integer indicating the half-width of the neighborhood to consider when identifying peaks. A larger value of |
Value
A numeric vector containing the indices of the identified peaks in the input vector x
.
[Package shinyWGD version 1.0.0 Index]