tsfeatures (version 1.1.1)

flat_spots: Longest flat spot

Description

"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.

Usage

flat_spots(x)

Value

A numeric value.

Arguments

x

a univariate time series

Author

Earo Wang and Rob J Hyndman