[R] peaks

Herve Cardot
Tue, 28 May 2002 14:26:09 -0000

I am looking for a function in R that is  equivalent to the function
"peaks" in
Splus. This function  gives the local maxima of a vector.
I do not find it using the help and I 'm not sure it exits in R.

Could someone help me ?
Thanks,

Herve Cardot