Man pages for couplr
Optimal Pairing and Matching via Linear Assignment

animated_methodsList Methods That Support Animation
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 an Assignment Result to a Binary Matrix
as_matchitConvert a Matching Result to a matchit Object
assign_blocks_clusterAssign blocks using clustering
assign_blocks_groupAssign blocks based on grouping variable(s)
assignmentSolve a Linear Assignment Problem
assignment_dualsSolve an Assignment Problem and Return Dual Potentials
auto_encode_categoricalAutomatically encode categorical variables
balance_diagnosticsBalance Diagnostics for Matched Samples
balance_tableBalance Table of a Balance Diagnostics Object
bal.tab.couplr_resultBalance Tables from cobalt for Matching Results
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
cardinality_matchCardinality Matching
cem_matchCoarsened Exact Matching
check_cost_distributionCheck cost distribution for problems
check_full_matchingCheck if full matching was achieved
check_unique_idsError on repeated id values
check_variable_healthCheck variable health for matching
compute_distance_matrixCompute pairwise distance matrix
compute_distancesCompute and Cache a Distance Matrix
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_resultMatching Results
couplr_stopStop with a fun, themed error message
couplr_successSuccess message with emoji
couplr_warnWarn with a fun, themed warning message
design_estimandWhat the design identifies
detect_blockingDetect and validate blocking
diagnose_distance_matrixDiagnose a Distance Matrix
dot-assignment_implicitSolve an implicit assignment by generating the pairs it needs
dot-assignment_lazySolve a lazy_cost_spec (memory_mode = "lazy" backend for...
dot-auto_breaksCompute automatic break points for CEM binning
dot-autoplot_histHistogram of |std diff| via ggplot2
dot-autoplot_loveLove plot via ggplot2
dot-autoplot_varianceVariance ratio plot via ggplot2
dot-balance_flow_auditCheck a balance flow against the objective it is meant to...
dot-balance_flow_encodeThe flow a matched set corresponds to
dot-balance_flow_problemCompile a balance design into a flow problem
dot-balance_flow_readRead a solved balance flow
dot-balance_node_layoutNode layout of a balance flow network
dot-blocks_parallelShared parallel block matching implementation
dot-cardinality_flowOne solve of a balance network
dot-cardinality_heuristic_reportReport for a pruned match
dot-cardinality_pruneBalance pruning heuristic
dot-cardinality_reportReport of a cardinality match
dot-cardinality_resultAssemble a matching_result from a cardinality report
dot-cardinality_solveBalance-constrained cardinality match
dot-compute_pair_balanceCompute standardized differences for current pairs
dot-couples_blockedShared blocked matching implementation
dot-couples_from_distanceShared matching from precomputed distance object
dot-couples_replaceReplacement matching: each left picks its best right...
dot-couples_singleShared single matching implementation
dot-ks_statisticTwo-sample Kolmogorov-Smirnov statistic of weighted samples
dot-overall_balanceSummarise a per-variable balance table
dot-pair_var_diffsCompute per-pair differences on a single variable
dot-rosenbaum_boundsCompute Rosenbaum bounds via normal approximation
dot-with_unmatched_balanceAdd the standardized differences before matching to a balance...
err_invalid_paramInvalid parameter error
err_missing_dataMissing data error
err_missing_varsMissing variables error
err_no_valid_pairsAll pairs forbidden error
estimate_dense_matrix_mbEstimate the Memory of a Dense Cost Matrix
estimate_dense_solve_mbEstimate the Peak Memory of a Dense Solve
example_costsExample Cost Matrices
example_dfExample Assignment Data Frame
explain_dispatchExplain the Automatic Solver Choice
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
full_matchFull Matching
get_block_id_columnStandardize block ID column name
get_free_ram_mbEstimate available system RAM in megabytes
greedy_blocks_parallelGreedy match blocks in parallel
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 Example Data
info_low_match_rateLow match rate info
join_matchedJoin Matched Pairs with the Original Data
lap_animateAnimate an Assignment Algorithm
lap_solveSolve Linear Assignment Problems with a Tidy Interface
lap_solve_batchSolve Many Assignment Problems
lap_solve_kbestFind the k Best Assignments
lap_solve_line_metricSolve a One-Dimensional Assignment Problem
lap_solversAssignment Solvers
lazy_cost_spec_calipersCalipers of a lazy cost spec, as the C++ cost source reads...
lazy_cost_spec_inv_covPrecompute the Mahalanobis inverse covariance matrix for a...
lazy_cost_spec_marginsWhich units of a lazy cost spec carry an admissible pair
lazy_cost_spec_modeThe memory mode a lazy cost specification was built for
lazy_cost_spec_rowsRows of a lazy cost spec, by unit index on each side
lazy_cost_spec_subsetSome units of a lazy cost spec, at the distance all of them...
lazy_pair_distancesCompute paired (not cross) distances for specific matched...
long_to_cost_matrixBuild a cost matrix from source / target / cost columns
mahalanobis_inv_covInverse covariance matrix of a Mahalanobis distance between...
mahalanobis_precisionPrecision matrix of a covariance matrix, through its Cholesky...
mark_forbidden_pairsMark forbidden pairs
mask_forbiddenApply the 'forbidden' sentinel to a cost matrix
match_blocks_parallelMatch blocks in parallel
match_couplesOptimal and Greedy Pair Matching
match_couples_blockedMatch with blocking (multiple problems)
match_couples_from_distanceMatch from Precomputed Distance Object
match_couples_singleMatch without blocking (single problem)
match_dataExtract Analysis-Ready Data from a Matching Result
matchmakerCreate Blocks for Stratified Matching
match_pathSolve a Sequence of Matchings over One Design Parameter
new_lazy_cost_specConstruct a lazy cost specification
parallel_lapplyParallel lapply using future
pixel_morphPixel-Level Image Morphing
pixel_morph_animateAnimated Pixel-Level Image Morphing
preprocess_matching_varsCheck Matching Variables and Choose Scaling
print.couplr_flow_problemPrint Method for Flow Problems
ps_matchPropensity Score Matching
reexportsObjects exported from other packages
resolve_memory_modeResolve a requested memory_mode to a concrete decision
restore_parallelRestore original parallel plan
result_accessorsCertificate, Potentials and Unmatched Units of a Result
sensitivity_analysisRosenbaum Sensitivity Analysis
setup_parallelSetup parallel processing with future
sinkhornEntropic Optimal Transport by Sinkhorn-Knopp Iteration
sinkhorn_to_assignmentRound a Sinkhorn Transport Plan to an Assignment
solver_status_valuesSolver Status Values
standardized_differenceCalculate Standardized Difference
subclass_matchSubclassification on Propensity Score
success_good_balancePerfect balance success message
suggest_scalingSuggest scaling method based on variable characteristics
summarize_blocksSummarize block structure
transpose_lazy_cost_specSwap left/right in a lazy cost spec
update_constraintsUpdate the Constraints of a 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
verify_assignmentVerify That an Assignment Is Optimal
verify_flowVerify That a Flow Is Optimal
vm_stat_available_mbAvailable megabytes implied by a block of 'vm_stat' output
vm_stat_page_sizePage size behind a block of 'vm_stat' output
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 Nov. 26, 2026, 9:07 a.m.