.compute_gar_core | R Documentation |
This function is not exported. It serves as the core computational engine for evaluating Anti-Robinson (AR), Generalized Anti-Robinson (GAR), and Relative GAR (RGAR) scores.
.compute_gar_core(mat_sorted, w = NULL, normalize = FALSE)
mat_sorted |
A numeric, symmetric sorted distance matrix. |
w |
An integer window size (if NULL, evaluates all triplets globally). |
normalize |
Logical. If TRUE, returns a proportion; otherwise returns the raw count. |
A numeric value indicating the number (or proportion) of Anti-Robinson violations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.