mahDis: Mahalanobis Distance Between Two Groups

Description Usage Arguments

View source: R/mahalanobisDist.R

Description

Calculates Mahalanobis distance between the groups centroids median position.

Usage

1

Arguments

data

is a matrix containing point positions. The matrix has two columns. Each row of the matrix gives one point.

group

is a vector specifying the group each point belongs to. Notice that this method calculates distances of two groups by a time.


mgborges/mahalanobisDist documentation built on May 22, 2019, 8:53 p.m.