PSkewAA_fast: Piecewise Skewness Aggregate Approximation

Description Usage Arguments Details Value See Also

Description

Divides a time series into windowCount frames of equal length and represents each interval by its skewness. If the time series length is not divisible by the number of windows, one element might belong to two windows, but only with a certain fraction to each.

Usage

1
PSkewAA_fast(x, windowCount, nanReplace = NA_real_)

Arguments

x

Numeric vector/time series.

windowCount

The number of windows for the shortened time series.

nanReplace

All NaN elements will be replaced with this value (default: NaN). NaNs can occur if a segment is constant.

Details

The function is similar to PAA_fast, but simply uses a different aggregate.

Value

A numeric vector of the length windowCount.

See Also

Other piecewise aggregation functions: PAA_fast, PKurtAA_fast, PMaxAA_fast, PMedAA_fast, PMinAA_fast, PSDAA_fast


Jakob-Bach/FastTSDistances documentation built on May 13, 2019, 1:15 p.m.