nbpMatching: Functions for Optimal Non-Bipartite Matching

Perform non-bipartite matching and matched randomization. A "bipartite" matching utilizes two separate groups, e.g. smokers being matched to nonsmokers or cases being matched to controls. A "non-bipartite" matching creates mates from one big group, e.g. 100 hospitals being randomized for a two-arm cluster randomized trial or 5000 children who have been exposed to various levels of secondhand smoke and are being paired to form a greater exposure vs. lesser exposure comparison. At the core of a non-bipartite matching is a N x N distance matrix for N potential mates. The distance between two units expresses a measure of similarity or quality as mates (the lower the better). The 'gendistance()' and 'distancematrix()' functions assist in creating this. The 'nonbimatch()' function creates the matching that minimizes the total sum of distances between mates; hence, it is referred to as an "optimal" matching. The 'assign.grp()' function aids in performing a matched randomization. Note bipartite matching can be performed using the prevent option in 'gendistance()'.

Version: 1.5.6
Imports: methods, stats, Hmisc, MASS, utils
Published: 2024-09-25
DOI: 10.32614/CRAN.package.nbpMatching
Author: Cole Beck [aut, cre], Bo Lu [aut], Robert Greevy [aut]
Maintainer: Cole Beck <cole.beck at vumc.org>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/couthcommander/nbpMatching
NeedsCompilation: yes
Materials: NEWS
CRAN checks: nbpMatching results

Documentation:

Reference manual: nbpMatching.pdf

Downloads:

Package source: nbpMatching_1.5.6.tar.gz
Windows binaries: r-devel: nbpMatching_1.5.6.zip, r-release: nbpMatching_1.5.6.zip, r-oldrel: nbpMatching_1.5.6.zip
macOS binaries: r-release (arm64): nbpMatching_1.5.6.tgz, r-oldrel (arm64): nbpMatching_1.5.6.tgz, r-release (x86_64): nbpMatching_1.5.6.tgz, r-oldrel (x86_64): nbpMatching_1.5.6.tgz
Old sources: nbpMatching archive

Reverse dependencies:

Reverse depends: nearfar
Reverse imports: crossmatch, GPSCDF, GreedyExperimentalDesign
Reverse suggests: hamlet, rsmatch

Linking:

Please use the canonical form https://CRAN.R-project.org/package=nbpMatching to link to this page.