Learn R Programming

wmtsa (version 2.0-3)

wavSortCrystals: Sort wavelet transform crystal names

Description

Sorts the crystal names for a discrete wavelet transform by level then by corresponding frequency content, from low to high.

Usage

wavSortCrystals(x, reverse=FALSE)

Arguments

x

a vector of character strings containing the names of the wavelet transform crystals.

reverse

a logical value. If TRUE, the order of the sorted names is reversed. Default: FALSE.

Value

a vector of character strings containing the sorted crystal names.

See Also

wavDWT, wavMODWT.

Examples

Run this code
# NOT RUN {
W <- wavMODWT(1:100)
wavSortCrystals(names(W$data), reverse=TRUE)
# }

Run the code above in your browser using DataLab