Learn R Programming

feasts (version 0.3.0)

longest_flat_spot: 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)

Value

A numeric value.

Arguments

x

a vector

Author

Earo Wang and Rob J Hyndman