View source: R/metrics_functions.R
GAR | R Documentation |
Calculates the number of Anti-Robinson violations within a specified window w
,
allowing evaluation of local structural consistency in the reordered matrix.
GAR(mat_sorted, w = NULL)
mat_sorted |
A numeric, symmetric sorted distance matrix. |
w |
Window size (integer). If NULL, uses global comparisons (equivalent to AR). |
The GAR score (the total number of violations).
Please refer to GAP
for complete usage examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.