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 07 Aug. 2026.
Previous versions and publish date:
(2026-07-09 06:24), 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

enrichwith  
Methods to Enrich R Objects with Extra Components
Provides the "enrich" method to enrich list-like R objects with new, relevant components. The curren ...
Download / Learn more Package Citations See dependency  
BayesESS  
Determining Effective Sample Size
Determines effective sample size of a parametric prior distribution in Bayesian models. For a web-b ...
Download / Learn more Package Citations See dependency  
bbricks  
Bayesian Methods and Graphical Model Structures for Statistical Modeling
A set of frequently used Bayesian parametric and nonparametric model structures, as well as a set of ...
Download / Learn more Package Citations See dependency  
modelwordcloud  
Model Word Clouds
Makes a word cloud of text, sized by the frequency of the word, and colored either by user-specified ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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