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, transform = ``modwt" )

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.

OPTIONAL ARGUMENTS:

n.taps
The length of the wavelet filter. Default: 8.
n.sample
The number of points in the original time series. Default: 1024.
transform
A chcarcter string denoting the transform type. Supported types are ``dwt", ``dwpt", ``modwt", and ``modwpt". Default: ``modwt".

VALUE:

result
An integer denoting the maximum decomposition level which contains at least one interior wavelet coefficient.

SEE ALSO:

, , , .

EXAMPLES:

   wavMaxLevel( n.taps = 8, n.sample = 1024,
    + transform = "modwt" )