Learn R Programming

wmtsa (version 2.0-3)

wavMaxLevel: Maximum decomposition level

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

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

Run this code
# NOT RUN {
wavMaxLevel(n.taps=8, n.sample=1024, xform="modwt")
# }

Run the code above in your browser using DataLab