powered by
"Flat spots” are computed by dividing the sample space of a time series into ten equal-sized intervals, and computing the maximum run length within any single interval.
longest_flat_spot(x)
A numeric value.
a vector
Earo Wang and Rob J Hyndman