greedy_couples_from_distance: Greedy Matching from Precomputed Distance Object

View source: R/matching_core.R

greedy_couples_from_distanceR Documentation

Greedy Matching from Precomputed Distance Object

Description

Internal function to handle greedy matching when a distance_object is provided

Usage

greedy_couples_from_distance(
  dist_obj,
  max_distance = Inf,
  calipers = NULL,
  ignore_blocks = FALSE,
  require_full_matching = FALSE,
  strategy = "row_best",
  return_unmatched = TRUE,
  return_diagnostics = FALSE
)

Value

A matching_result object with pairs, info, and optional diagnostics.


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