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


robjhyndman/tsfeatures documentation built on Aug. 31, 2023, 3:18 p.m.