find_peaks: find_peaks

Description Usage Arguments Details Value

Description

This function finds peaks in a time series of data, defined to be a local maxima where at least m points on either side are smaller than the deemed peak

Usage

1
find_peaks(x, m = 3)

Arguments

x

A numerical vector

m

The window that defines the local maximum (default = 3)

Details

This function is written by Stasia Grinberg and is available at https://github.com/stas-g/findPeaks

Value

A vector of indices where the peaks have been identified


Zansors/zdeviceR documentation built on Dec. 25, 2019, 12:23 a.m.