| emd | R Documentation |
The function automatically applies an empirical mode decomposition to a
provided univariate time series. Wrapper function for emd
of the Rlibeemd package. It also allows the automatic selection
of meaningful IMFs using fittestEMD.
emd.rev() reverses the transformation.
emd(
x,
num_imfs = 0,
S_number = 4L,
num_siftings = 50L,
meaningfulImfs = NULL,
h = 1,
...
)
emd.rev(pred)
x |
A numeric vector or univariate time series to be decomposed. |
num_imfs |
Number of Intrinsic Mode Functions (IMFs) to compute. See |
S_number, num_siftings |
See |
meaningfulImfs |
Vector indicating the indices of the meaningful IMFs according to the
possible intervals |
h |
See |
... |
Additional arguments passed to |
pred |
A list containing IMFs produced by empirical mode decomposition. |
A list containing the meaningful IMFs of the empirical mode decomposition of x.
A vector indicating the indices of the meaningful IMFs and the number of IMFs produced are passed as attributes
named "meaningfulImfs" and "num_imfs", respectively.
Rebecca Pontes Salles
Kim, D., Paek, S. H., & Oh, H. S. (2008). A Hilbert-Huang transform approach for predicting cyber-attacks. Journal of the Korean Statistical Society, 37(3), 277-283.
fittestEMD, fittestWavelet
Other transformation methods:
Diff(),
LogT(),
WaveletT(),
mas(),
mlm_io(),
outliers_bp(),
pct(),
train_test_subset()
data(CATS)
e <- emd(CATS[,1])
x <- emd.rev(e)
all(round(x,4)==round(CATS[,1],4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.