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 July 25, 2024, 3:47 a.m.