check_cost_distribution: Check cost distribution for problems

View source: R/matching_messages.R

check_cost_distributionR Documentation

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)

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

Value

List with diagnostic information


couplr documentation built on Jan. 20, 2026, 5:07 p.m.