Learn R Programming

wv (version 0.1.2)

modwt_cpp: Maximum Overlap Discrete Wavelet Transform

Description

Calculation of the coefficients for the discrete wavelet transformation

Usage

modwt_cpp(x, filter_name, nlevels)

Value

y A field<vec> that contains the wavelet coefficients for each decomposition level

Arguments

x

A vector with dimensions \(N\times 1\).

filter_name

A string indicating the filter.

nlevels

An integer, \(J\), indicating the level of the decomposition.

Author

James Balamuta and Justin Lee

Details

Performs a level J decomposition of the time series using the pyramid algorithm. Use this implementation to supply custom parameters instead of modwt(x), which serves as a wrapper function.