Description Usage Arguments Value References See Also Examples
Inverts a discrete wavelet transform, mapping the data back into the time domain.
1 | reconstruct(x, ...)
|
x |
an object of class |
... |
optional arguments passed directly to the reconstruction function. |
a numeric vector containing the result.
D. B. Percival and A. T. Walden, Wavelet Methods for Time Series Analysis, Cambridge University Press, 2000.
I. Daubechies, Orthonormal Bases of Compactly Supported Wavelets, Communications on Pure and, Applied Mathematics, 41, 909–96.
1 2 3 4 5 6 | ## create a random series, calculate a forward
## transform, then invert
x <- rnorm(1024)
x.dwt <- reconstruct(wavDWT(x))
x.modwt <- reconstruct(wavMODWT(x))
all(c(splus2R::vecnorm(x.dwt-x), splus2R::vecnorm(x.modwt-x)) < .Machine$single.eps)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.