mutilsDistanceMetric {ifultools}R Documentation

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 .Call 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

mutilsDistanceMetric(Inf)

[Package ifultools version 1.0-6 Index]