MPFeatAmp_seasonal: MPFeatAmp_seasonal

Description Usage Arguments Value See Also

View source: R/multi_peak_features.R

Description

Decompose signal with classical decomposition and returns amplitude of the seasonal component. Aims at giving an estimation of peak amplitude in oscillating signal.

Usage

1
MPFeatAmp_seasonal(x, window.size, 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.

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 difference between maximum and minimum of the seasonal component.

See Also

MPFeatAmp_euclidmean, MPFeatAmp_variation


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