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 16 Jul. 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

tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  
Rnmr1D  
Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra
Perform the complete processing of a set of proton nuclear magnetic resonance spectra from the free ...
Download / Learn more Package Citations See dependency  
tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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