Learn R Programming

oclust (version 1.0.0)

minMD: Minimum Mahalanobis Distance

Description

minMD calculates the Mahalanobis distance to each cluster and returns the Mahalanobis distance to the closest cluster.

Usage

minMD(X, sigs, mus)

Value

minMD returns a vector of length n corresponding to the minimum MD for each point.

Arguments

X

A matrix or data frame of the data.

sigs

A list of cluster variance matrices

mus

A list of cluster mean vectors

Details

This function is used to help identify initial gross outliers.