Package: couplr 1.4.1
couplr: Optimal Pairing and Matching via Linear Assignment
Solves optimal pairing and matching problems using linear assignment algorithms. Provides implementations of the Hungarian method (Kuhn 1955) <doi:10.1002/nav.3800020109>, Jonker-Volgenant shortest path algorithm (Jonker and Volgenant 1987) <doi:10.1007/BF02278710>, Auction algorithm (Bertsekas 1988) <doi:10.1007/BF02186476>, cost-scaling (Goldberg and Kennedy 1995) <doi:10.1007/BF01585996>, scaling algorithms (Gabow and Tarjan 1989) <doi:10.1137/0218069>, push-relabel (Goldberg and Tarjan 1988) <doi:10.1145/48014.61051>, and Sinkhorn entropy-regularized transport (Cuturi 2013) <doi:10.48550/arxiv.1306.0895>. Designed for matching plots, sites, samples, or any pairwise optimization problem. Supports rectangular matrices, forbidden assignments, data frame inputs, batch solving, k-best solutions, and pixel-level image morphing for visualization. Includes automatic preprocessing with variable health checks, multiple scaling methods (standardized, range, robust), greedy matching algorithms, and comprehensive balance diagnostics for assessing match quality using standardized differences and distribution comparisons.
Authors:
couplr_1.4.1.tar.gz
couplr_1.4.1.zip(r-4.7)couplr_1.4.1.zip(r-4.6)couplr_1.4.1.zip(r-4.5)
couplr_1.4.1.tgz(r-4.6-x86_64)couplr_1.4.1.tgz(r-4.6-arm64)couplr_1.4.1.tgz(r-4.5-x86_64)couplr_1.4.1.tgz(r-4.5-arm64)
couplr_1.4.1.tar.gz(r-4.7-arm64)couplr_1.4.1.tar.gz(r-4.7-x86_64)couplr_1.4.1.tar.gz(r-4.6-arm64)couplr_1.4.1.tar.gz(r-4.6-x86_64)
couplr_1.4.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
couplr/json (API)
| # Install 'couplr' in R: |
| install.packages('couplr', repos = c('https://gcol33.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gcol33/couplr/issues
Pkgdown/docs site:https://gillescolling.com
- hospital_staff - Hospital staff scheduling example dataset
bipartite-matchinglinear-assignmentoptimizationcpp
Last updated from:6c2f0c7edc. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 290 | ||
| linux-devel-x86_64 | OK | 290 | ||
| source / vignettes | OK | 384 | ||
| linux-release-arm64 | OK | 287 | ||
| linux-release-x86_64 | OK | 293 | ||
| macos-release-arm64 | OK | 259 | ||
| macos-release-x86_64 | OK | 599 | ||
| macos-oldrel-arm64 | OK | 361 | ||
| macos-oldrel-x86_64 | OK | 577 | ||
| windows-devel | OK | 372 | ||
| windows-release | OK | 364 | ||
| windows-oldrel | OK | 318 | ||
| wasm-release | OK | 249 |
Exports:animated_methodsas_assignment_matrixas_matchitassignmentassignment_dualsaugmentbal.tab.cem_resultbal.tab.full_matching_resultbal.tab.matching_resultbal.tab.subclass_resultbalance_diagnosticsbalance_tablebottleneck_assignmentcardinality_matchcem_matchcompute_distancesdiagnose_distance_matrixexample_costsexample_dffull_matchget_method_usedget_total_costgreedy_couplesgroup_byis_distance_objectis_lap_solve_batch_resultis_lap_solve_kbest_resultis_lap_solve_resultjoin_matchedlap_animatelap_solvelap_solve_batchlap_solve_kbestlap_solve_line_metricmatch_couplesmatch_datamatchmakerpixel_morphpixel_morph_animatepreprocess_matching_varsps_matchsensitivity_analysissinkhornsinkhorn_to_assignmentsubclass_matchupdate_constraints
Dependencies:base64encbriobslibcachemcallrclicrayondescdiffobjdigestdplyrevaluatefastmapfontawesomefsgenericsgluehighrhtmltoolshtmlwidgetsjquerylibjsonliteknitrlifecyclemagrittrmemoisemimeotelpillarpkgbuildpkgconfigpkgloadpraiseprocessxpspurrrR6rappdirsRcppRcppEigenrlangrmarkdownrprojrootsasstestthattibbletidyselecttinytexutf8vctrswaldowithrxfunyaml
Last update: 2026-05-19
Started: 2025-11-15
Last update: 2026-03-09
Started: 2025-11-20
Last update: 2026-03-04
Started: 2026-01-07
Last update: 2026-03-04
Started: 2025-11-07
Last update: 2026-03-03
Started: 2026-01-07
Last update: 2026-01-21
Started: 2025-11-15
