Learn R Programming

simts (version 0.1.1)

dwt_cpp: Discrete Wavelet Transform

Description

Calculation of the coefficients for the discrete wavelet transformation.

Usage

dwt_cpp(x, filter_name, nlevels, boundary, brickwall)

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.

boundary

A string indicating the type of boundary method to use. Either boundary="periodic" or "reflection".

brickwall

A bool indicating whether the a brick wall procedure should be applied to the coefficients.

Value

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

Details

Performs a level J decomposition of the time series using the pyramid algorithm