find_peaks(x, ignore_threshold = 0, span = 3, strict = TRUE)peaks from splus2R and handles non-finite
(including NA) values differently than peaks, instead of giving an
error they are replaced with the smallest finite value in x.
peaksOther peaks.and.valleys.functions: stat_peaks