MPFeatAmp_variation: MPFeatAmp_variation

Description Usage Arguments Value See Also

View source: R/multi_peak_features.R

Description

Decompose signal with classical decomposition and returns mean of the (trimmed) absolute remainder component. Aims at at giving an estimation of the variation of peak amplitudes in oscillating signal.

Usage

1
MPFeatAmp_variation(x, window.size, trim = NULL, robust = TRUE)

Arguments

x

a numerical vector.

window.size

integer, width of window for rolling mean used to extract the trend component. See ?classical.decomposition.

trim

optional. Gives the minimum absolute value of remainder to be considered.

robust

logical. If TRUE, seasonal component is estimated by taking the median of values at each stage of a season. If FALSE, uses mean. See ?classical.decomposition.

Value

The mean (trimmed) absolute remainder.

See Also

MPFeatAmp_euclidmean, MPFeatAmp_seasonal


majpark21/TSexploreR documentation built on Oct. 16, 2019, 2:46 p.m.