InvDWT: Inverse discrete wavelet transform

Description Usage Arguments Value Examples

View source: R/InvDWT.R

Description

This function performs the inverse discrete wavelet transform.

Usage

1
InvDWT(grove.obj, x = NULL, include.C = TRUE, sample.C = FALSE)

Arguments

grove.obj

An object of class grove.

x

A vector of the values of a predictor.

include.C

If TRUE, C is used for reconstructing the function.

sample.C

If TRUE, draws from C are used for recontructing the function.

Value

A matrix with each row representing a draw from the reconstructed signal.

Examples

1
2
3
4
5
6
data <- wavethresh::DJ.EX(n = 512, noisy = TRUE, rsnr = 5)$doppler
W <- DWT(data)
ans <- Denoise(W)
denoised.data <- InvDWT(ans)
plot(data, type = "l")
lines(denoised.data[1, ], col = "red")

grove documentation built on May 2, 2019, 5:55 a.m.

Related to InvDWT in grove...