find_peaks: Find Peaks in a Numeric Vector

find_peaksR 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 m makes peak detection less sensitive.

Value

A numeric vector containing the indices of the identified peaks in the input vector x.


shinyWGD documentation built on April 4, 2025, 2:28 a.m.