Mahalanobis: Function to calculate the Mahalanobis distance. Credit: Rcpp...

Description Usage Arguments

Description

Function to calculate the Mahalanobis distance. Credit: Rcpp gallery.

Usage

1
Mahalanobis(x, center, cov)

Arguments

x

(n x d) matrix of observed data

center

Row vector (d) of means

cov

(d x d) matrix of covariance


nwakim/nwREM documentation built on May 22, 2019, 5:34 p.m.