Find peak amplitudes in a time series signal.
peaks(series, span = 3, do.pad = TRUE)
span for window
This function originated in a note from Brian Ripley.
vector of peak indexes
plot(CE1$x, CE1$y, type='l')
pp <- seq(from=53, to=80, by=1)
plot(CE1$x[pp], CE1$y[pp], type='l')
aa <- peaks(CE1$y[pp], span=3)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.