mahal_dist {tourr}R Documentation

Calculate the Mahalanobis distance between points and center.

Description

Computes the Mahalanobis distance using a provided variance-covariance matrix of observations from 0.

Usage

mahal_dist(x, vc)

Arguments

x

matrix of data

vc

pre-determined variance-covariance matrix


[Package tourr version 1.2.0 Index]