This function performs the Mahalanobis transformation on a data matrix.
mahalanobis_scale(X)
X
A data matrix.
The transformed data matrix.
data(heptathlon) mahalanobis_scale(heptathlon)