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 May 29, 2024, 11:22 a.m.