Hi all
 Is there a function that can find the start and end position of peaks in a
set of numbers.
eg.
x=c(14,15,12,11,12,13,14,15,16,15,14,13,12,11,14,12)
y=somefunction(x)

y
4 14


Thanks
John

	[[alternative HTML version deleted]]

