Learn R Programming

ifultools (version 2.0-23)

mutilsDistanceMetric: L-p metric conversion

Description

Converts a numeric value (p) representing an L-p metric to an enumerated index appropriate for Insightful's MUTILS C library, used by many functions in the FRACTAL package involving itCall calls.

Usage

mutilsDistanceMetric(metric)

Arguments

metric

an integer (p) representing an L-p Euclidean distance metric. Supported values are 1, 2 and Inf.

Value

an integer representing the equivalent MUTILS enumerated type for the specifed metric.

See Also

mutilsFilterType, mutilsFilterTypeContinuous, mutilsSDF, mutilsTransformPeakType, mutilsTransformType, mutilsWSShrinkageFunction, mutilsWSThresholdFunction.

Examples

Run this code
# NOT RUN {
mutilsDistanceMetric(Inf)
# }

Run the code above in your browser using DataLab