Man pages for couplr
Optimal Pairing and Matching via Linear Assignment

animated_methodsList methods that currently 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 assignment result to a binary matrix
as_matchitConvert couplr Result to matchit Object
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
augment.matching_resultAugment Matching Results with Original Data (broom-style)
auto_encode_categoricalAutomatically encode categorical variables
autoplot.balance_diagnosticsggplot2 autoplot for balance diagnostics
autoplot.matching_resultggplot2 autoplot for matching results
autoplot.sensitivity_analysisggplot2 autoplot for sensitivity analysis
balance_diagnosticsBalance Diagnostics for Matched Pairs
balance_tableCreate Balance Table
bal.tab.matching_resultBalance Table for Matching Results (cobalt integration)
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 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
design_estimandWhat the design identifies
detect_blockingDetect and validate blocking
diagnose_distance_matrixDiagnose distance matrix and suggest fixes
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_branch_boundBranch and bound over the moment constraints
dot-cardinality_flowOne solve of a balance network
dot-cardinality_heuristic_reportReport for a pruned match
dot-cardinality_lagrangianLagrangian bound for one node
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-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
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 dense cost-matrix memory footprint in megabytes
estimate_dense_solve_mbEstimate the peak footprint of a dense solve in megabytes
example_costsExample cost matrices for assignment problems
example_dfExample assignment problem data frame
explain_dispatchExplain which solver 'method = "auto"' selects, and why
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
get_method_usedExtract method used from assignment result
get_total_costExtract total cost from assignment result
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 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_animateAnimate an assignment algorithm step-by-step
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
lazy_cost_spec_calipersCalipers of a lazy cost spec, keyed by variable name
lazy_cost_spec_inv_covPrecompute the Mahalanobis inverse covariance matrix for a...
lazy_cost_spec_modeThe memory mode a lazy cost specification was built for
lazy_pair_distancesCompute paired (not cross) distances for specific matched...
long_to_cost_matrixBuild a cost matrix from source / target / cost columns
mark_forbidden_pairsMark forbidden pairs
mask_forbiddenApply the 'forbidden' sentinel to a cost matrix
match_blocks_parallelMatch blocks in parallel
match_couplesMatch two datasets into couples
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 Matching Results
matchmakerCreate blocks for stratified matching
match_pathMatch across a range of one design choice
new_lazy_cost_specConstruct a lazy cost specification
parallel_lapplyParallel lapply using future
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
plot.sensitivity_analysisPlot method for sensitivity analysis (base graphics)
preprocess_matching_varsPreprocess matching variables with automatic checks and...
print.balance_diagnosticsPrint Method for Balance Diagnostics
print.cem_resultPrint Method for CEM Results
print.couplr_flow_problemPrint Method for Flow Problems
print.couplr_pathPrint a design path
print.distance_objectPrint Method for Distance Objects
print.full_matching_resultPrint Method for Full Matching Results
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.sensitivity_analysisPrint method for sensitivity analysis
print.subclass_resultPrint Method for Subclassification Results
print.variable_healthPrint method for variable health
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
sensitivity_analysisRosenbaum Sensitivity Analysis
setup_parallelSetup parallel processing with future
sinkhorn'Sinkhorn-Knopp' optimal transport solver
sinkhorn_to_assignmentRound 'Sinkhorn' transport plan to hard 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
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
summary.sensitivity_analysisSummary method for sensitivity analysis
transpose_lazy_cost_specSwap left/right in a lazy cost spec
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
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 Sept. 17, 2026, 1:08 a.m.