flat_spots: Longest flat spot

View source: R/features.R

flat_spotsR Documentation

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)

Arguments

x

a univariate time series

Value

A numeric value.

Author(s)

Earo Wang and Rob J Hyndman


tsfeatures documentation built on Aug. 28, 2023, 5:09 p.m.