In a dataset with multiple continuous variables we try to calculate
the multivariate distance of individuals. The original axes are used to
derive new linear combinations based on the correlational structure of
variables.
Use
file "BodyMeasures.txt", optimize the coordinate space based on
correlations between the original variables
Now calculate the centroid as the mean vector across all columns in the data frame. Calculate the Mahalanobis distance from the centroid using the variance/covariance matrix
> means < colMeans(bodyMeasures_numeric)
