Learn R Programming

couplr (version 1.1.0)

greedy_couples_from_distance: 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
)

Arguments

Value

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