AR: Compute the Anti-Robinson (AR) score

View source: R/metrics_functions.R

ARR Documentation

Compute the Anti-Robinson (AR) score

Description

Calculates the total number of Anti-Robinson violations over all triplets in the matrix using the specified ordering. This is equivalent to GAR with a full window.

Usage

AR(mat_sorted)

Arguments

mat_sorted

A numeric, symmetric sorted distance matrix.

Value

The AR score (the total number of structural violations).

Please refer to GAP for complete usage examples.


GAPR documentation built on June 8, 2025, 1:50 p.m.

Related to AR in GAPR...