powered by
This function allows you to locate where are peaks of a waveform and return a list of TRUE and FALSE TRUE represents this location is the peak.
lpeak(series, span = 3)
is the input a numeric vector.
is the length or interval of peak finding cell, default is 3.
return a boolean type data corresponding to the numeric vector.
# NOT RUN { data(return) w1<-return[1,] #w1 is numeric values represnt an waveform. lpeak(w1,3) w2<-return[3,] lpeak(w2,5) # }
Run the code above in your browser using DataLab