mutilsWSShrinkageFunction {ifultools}R Documentation

Converts wavelet shrinkage function to MUTILS enum type

Description

MUTILS is a C library used for certain .Call functions. This function maps a wavelet transform character string to the corresponding enum type in MUTILS.

Usage

mutilsWSShrinkageFunction(x)

Arguments

x a character string representing the waveshrink function. Choices are "hard", "soft", and "mid".

Value

a list containg objects index and shrinkfun, containing an integer corresponding to the MUTILS enum and name of the shrinkage function, respectively.

See Also

mutilsDistanceMetric, mutilsFilterType, mutilsFilterTypeContinuous, mutilsTransformType, mutilsWSThresholdFunction.

Examples

## obtain MUTILS enum map for soft thresholding 
mutilsWSShrinkageFunction("soft")

[Package ifultools version 1.0-2 Index]