wavMaxLevel: Maximum decomposition level

Description Usage Arguments Value See Also Examples

Description

Interior wavelet coefficients are those not subject to circular filter operations. This function calculates the maximum level for a wavelet transform for which there exists at least one interior wavelet coefficient.

Usage

1
wavMaxLevel(n.taps=8, n.sample=1024, xform="modwt")

Arguments

n.sample

the number of points in the original time series. Default: 1024.

n.taps

the length of the wavelet filter. Default: 8.

xform

a character string denoting the transform type. Supported types are "dwt", "dwpt", "modwt", and "modwpt". Default: "modwt".

Value

an integer denoting the maximum decomposition level which contains more than one interior wavelet coefficient.

See Also

wavDWT, wavMODWT, wavDWPT.

Examples

1
wavMaxLevel(n.taps=8, n.sample=1024, xform="modwt")

Example output

[1] 7

wmtsa documentation built on May 2, 2019, 5:37 a.m.