find.minmax {synchrony} | R Documentation |
Find min/max of a time series
Description
Find local minima and maxima of a time series
Usage
find.minmax (timeseries)
Arguments
timeseries |
time series in matrix format ( |
Value
Returns a named list containing:
mins |
|
maxs |
|
Author(s)
Tarik C. Gouhier (tarik.gouhier@gmail.com)
Examples
t1=runif(100)
min.max=find.minmax(t1)
min.max$maxs
plot (t1, t="l")
points (min.max$mins, col="blue", bg="blue", pch=19)
points (min.max$maxs, col="red", bg="red", pch=19)
[Package synchrony version 0.3.8 Index]