dwt {wv} | R Documentation |
Discrete Wavelet Transform
Description
Calculation of the coefficients for the discrete wavelet transformation
Usage
dwt(x, nlevels = floor(log2(length(x))), filter = "haar")
Arguments
x |
A |
nlevels |
A |
filter |
A |
Details
Performs a level J
decomposition of the time series using the pyramid algorithm.
The default J
is determined by floor\left(log_2 \left(length\left(x\right)\right)\right)
Value
A field<vec>
that contains the wavelet coefficients for each decomposition level
Author(s)
James Balamuta, Justin Lee and Stephane Guerrier
Examples
set.seed(999)
x = rnorm(2^8)
ret = dwt(x)
summary(ret)
plot(ret)
[Package wv version 0.1.2 Index]