Learn R Programming

couplr (version 1.0.10)

check_cost_distribution: Check cost distribution for problems

Description

Examines the distance matrix for common issues and provides helpful warnings.

Usage

check_cost_distribution(cost_matrix, threshold_zero = 1e-10, warn = TRUE)

Value

List with diagnostic information

Arguments

cost_matrix

Numeric matrix of distances

threshold_zero

Threshold for considering distance "zero" (default: 1e-10)

warn

If TRUE, issue warnings for problems found