mahal_dist: Calculate the Mahalanobis distance between points and center.

View source: R/linear-algebra.r

mahal_distR 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


tourr documentation built on Aug. 8, 2025, 6:25 p.m.