localMinMax: Function to find the local minimum and maximum of a time...

Description Usage Arguments Value

View source: R/localMinMax.R

Description

Function to find the local minimum and maximum of a time series

Usage

1
localMinMax(x, stepT)

Arguments

x

the time sereis

stepT

the moving window to find the local min and max

Value

a two elements list, the first is the local min time index and the second is local max time index


zlfccnu/econophysics documentation built on Feb. 23, 2022, 10:22 p.m.