brick_wall: Removal of Boundary Wavelet Coefficients

Description Usage Arguments Details Value Examples

Description

Removes the first n wavelet coefficients.

Usage

1
brick_wall(x, wave_filter, method)

Arguments

x

A field<vec> that contains the nlevel decomposition using either modwt or dwt.

wave_filter

A field<vec> containing filter information. Only "haar" is implemented.

method

A string to describe the mode. Choose between "modwt" and "dwt"

Details

The vectors are truncated by removing the first n wavelet coefficients. These vectors are then stored into the field that is returned. Note: As a result, there are no NA's introduced and hence the na.omit is not needed.

Value

A field<vec> with boundary modwt or dwt taken care of.

Examples

1
2
3
x = rnorm(100)
me = modwt_cpp(x, filter_name = "haar", nlevels = 4, boundary = "periodic", brickwall = FALSE)
brick_wall(me, select_filter("haar"), "modwt")

gmwm documentation built on April 14, 2017, 4:38 p.m.