findmaxmin: Find Maximum and Minimum in Time Window

Description Usage Arguments

View source: R/functions_phase.R

Description

findmaxmin identifies maxima and minima in a specified time window. It is a helper function of phase_stats.

Usage

1
findmaxmin(df, phase_wnd = 8, reso, st)

Arguments

df

input data.frame

st

starting row of the first time window.

span

width of the time window. Relative to reso.

en

ending row of the last time window.


treenet/treenetproc documentation built on June 16, 2021, 4:39 p.m.