I'm having troubles with: finding peaks in R plot.
What I have is data.frame
called data
that looks like this:
x y
1 177.76 1366.20
2 177.98 1366.20
3 178.20 1366.20
4 178.42 1333.02
5 178.64 1358.21
6 178.85 1384.02
7 179.07 1382.58
...................
After
plot(data$x, data$y, type="l")
Is there a function that automatically finds peaks?
I know about findPeaks()
but I need time.series
for that.
Thanks