previously I wrote...
THere's the peaks package which will do some peak detection, or
'peaks' in the simecol package. Or msc.peaks.find in caMassClass,
I'm madly trying to remember what spectral package I found which has a
tool similar to msextrema but returns a couple more useful lists
describing the data and the results...
Carl
Found it pastecs:turnpoints is a nice function which, as I said,
returns lists of maxima and minima along with a lot of other good stuff.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.