longest_flat_spot: Longest flat spot length

longest_flat_spotR Documentation

Longest flat spot length

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

longest_flat_spot(x)

Arguments

x

a vector

Value

A numeric value.

Author(s)

Earo Wang and Rob J Hyndman


tidyverts/tsibblestats documentation built on March 18, 2024, 9:47 a.m.