Man pages for couplr
Optimal Pairing and Matching via Linear Assignment

apply_all_constraintsApply all constraints to cost matrix
apply_calipersApply caliper constraints
apply_max_distanceApply maximum distance constraint
apply_scalingApply scaling to matching variables
apply_weightsApply weights to matching variables
as_assignment_matrixConvert assignment result to a binary matrix
assign_blocks_clusterAssign blocks using clustering
assign_blocks_groupAssign blocks based on grouping variable(s)
assignmentLinear assignment solver
assignment_dualsSolve assignment problem and return dual variables
augmentGeneric Augment Function
augment.matching_resultAugment Matching Results with Original Data (broom-style)
auto_encode_categoricalAutomatically encode categorical variables
balance_diagnosticsBalance Diagnostics for Matched Pairs
balance_tableCreate Balance Table
BIG_COSTLarge value for forbidden pairs
bottleneck_assignmentSolve the Bottleneck Assignment Problem
build_cost_matrixBuild cost matrix for matching
calculate_var_balanceCalculate Variable-Level Balance Statistics
can_parallelizeCheck if parallel processing is available
check_cost_distributionCheck cost distribution for problems
check_full_matchingCheck if full matching was achieved
check_variable_healthCheck variable health for matching
compute_distance_matrixCompute pairwise distance matrix
compute_distancesCompute and Cache Distance Matrix for Reuse
count_valid_pairsCount valid pairs in cost matrix
couplr_emojiGet a themed emoji
couplr_informInfo message with emoji
couplr_messagesCouplr message helpers with emoji and humor
couplr-packagecouplr: Optimal Pairing and Matching via Linear Assignment
couplr_stopStop with a fun, themed error message
couplr_successSuccess message with emoji
couplr_warnWarn with a fun, themed warning message
detect_blockingDetect and validate blocking
diagnose_distance_matrixDiagnose distance matrix and suggest fixes
err_invalid_paramInvalid parameter error
err_missing_dataMissing data error
err_missing_varsMissing variables error
err_no_valid_pairsAll pairs forbidden error
example_costsExample cost matrices for assignment problems
example_dfExample assignment problem data frame
extract_idsExtract and standardize IDs from data frames
extract_matching_varsExtract matching variables from data frame
filter_blocksFilter blocks based on size and balance criteria
get_block_id_columnStandardize block ID column name
get_method_usedExtract method used from assignment result
get_total_costExtract total cost from assignment result
greedy_blocks_parallelGreedy match blocks in parallel
greedy_couplesFast approximate matching using greedy algorithm
greedy_couples_blockedGreedy matching with blocking
greedy_couples_from_distanceGreedy Matching from Precomputed Distance Object
greedy_couples_singleGreedy matching without blocking
group_byRe-export of dplyr::group_by
has_blocksCheck if data frame has blocking information
has_valid_pairsCheck if any valid pairs exist
hospital_staffHospital staff scheduling example dataset
info_low_match_rateLow match rate info
is_distance_objectCheck if Object is a Distance Object
is_lap_solve_batch_resultCheck if object is a batch assignment result
is_lap_solve_kbest_resultCheck if object is a k-best assignment result
is_lap_solve_resultCheck if object is an assignment result
join_matchedJoin Matched Pairs with Original Data
lap_solveSolve linear assignment problems
lap_solve_batchSolve multiple assignment problems efficiently
lap_solve_kbestFind k-best optimal assignments
lap_solve_line_metricSolve 1-D Line Assignment Problem
mark_forbidden_pairsMark forbidden pairs
match_blocks_parallelMatch blocks in parallel
match_couplesOptimal matching using linear assignment
match_couples_blockedMatch with blocking (multiple problems)
match_couples_from_distanceMatch from Precomputed Distance Object
match_couples_singleMatch without blocking (single problem)
matchmakerCreate blocks for stratified matching
parallel_lapplyParallel lapply using future
pipePipe operator
pixel_morphPixel-level image morphing (final frame only)
pixel_morph_animatePixel-level image morphing (animation)
plot.balance_diagnosticsPlot method for balance diagnostics
plot.matching_resultPlot method for matching results
preprocess_matching_varsPreprocess matching variables with automatic checks and...
print.balance_diagnosticsPrint Method for Balance Diagnostics
print.distance_objectPrint Method for Distance Objects
print.lap_solve_batch_resultPrint method for batch assignment results
print.lap_solve_kbest_resultPrint method for k-best assignment results
print.lap_solve_resultPrint method for assignment results
print.matching_resultPrint method for matching results
print.matchmaker_resultPrint method for matchmaker results
print.preprocessing_resultPrint method for preprocessing result
print.variable_healthPrint method for variable health
restore_parallelRestore original parallel plan
setup_parallelSetup parallel processing with future
sinkhorn'Sinkhorn-Knopp' optimal transport solver
sinkhorn_to_assignmentRound 'Sinkhorn' transport plan to hard assignment
standardized_differenceCalculate Standardized Difference
success_good_balancePerfect balance success message
suggest_scalingSuggest scaling method based on variable characteristics
summarize_blocksSummarize block structure
summary.balance_diagnosticsSummary method for balance diagnostics
summary.distance_objectSummary Method for Distance Objects
summary.lap_solve_kbest_resultGet summary of k-best results
summary.matching_resultSummary method for matching results
update_constraintsUpdate Constraints on Distance Object
use_emojiCheck if emoji should be used
validate_calipersValidate calipers parameter
validate_cost_dataValidate and prepare cost data
validate_matching_inputsValidate matching inputs
validate_weightsValidate weights parameter
warn_constant_distanceAll distances identical warning
warn_constant_varConstant variable warning
warn_extreme_costsExtreme cost ratio warning
warn_many_forbiddenMany forbidden pairs warning
warn_many_zerosToo many zeros warning
warn_parallel_unavailableParallel package missing warning (reuse from...
warn_poor_qualityHigh distance matches warning
couplr documentation built on Jan. 20, 2026, 5:07 p.m.