Other packages > Find by keyword >

nbpMatching  

Functions for Optimal Non-Bipartite Matching
View on CRAN: Click here


Download and install nbpMatching package within the R console
Install from CRAN:
install.packages("nbpMatching")

Install from Github:
library("remotes")
install_github("cran/nbpMatching")

Install by package version:
library("remotes")
install_version("nbpMatching", "1.5.6")



Attach the package and use:
library("nbpMatching")
Maintained by
Cole Beck
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2009-09-18
Latest Update: 2024-09-25
Description:
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()'.
How to cite:
Cole Beck (2009). nbpMatching: Functions for Optimal Non-Bipartite Matching. R package version 1.5.6, https://cran.r-project.org/web/packages/nbpMatching. Accessed 05 Jun. 2026.
Previous versions and publish date:
1.0 (2009-09-18 22:47), 1.3.2 (2012-10-29 08:59), 1.3.6 (2012-11-05 20:58), 1.4.0 (2013-04-17 17:28), 1.4.4 (2015-01-21 01:00), 1.4.5 (2015-05-15 00:25), 1.5.0 (2016-01-13 22:36), 1.5.1 (2016-04-19 08:12), 1.5.4 (2023-08-19 02:12), 1.5.5 (2024-05-17 20:10)
Other packages that cited nbpMatching R package
View nbpMatching citation profile
Other R packages that nbpMatching depends, imports, suggests or enhances
Complete documentation for nbpMatching
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA