View source: R/matching_lazy.R
| lazy_cost_spec_inv_cov | R Documentation |
Mirrors compute_distance_matrix()'s pooled within-group covariance logic
exactly (R/matching_distance.R) – computed once in R rather than
reimplemented in C++, so the two code paths can't drift apart. A spec whose
rows were reshaped carries the matrix its units defined as inv_cov, and
that is returned as it is.
lazy_cost_spec_inv_cov(spec)
p x p inverse covariance matrix, or NULL if distance != "mahalanobis".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.