calc_D | R Documentation |
A helper function to calculate the D vector given tau, mu_tau, and sigma_tau_inv. This is the mahalanobis distance for tau.
calc_D(tau, mu_tau, sigma_tau_inv)
tau |
A vector representing covariance. |
mu_tau |
The mean of tau. Estimated from the training data. |
sigma_tau_inv |
The inverse covariance matrix of tau. Estimated from the training data. |
A vector D which is used to calculate the plotting statistic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.