nbpMatching: Functions for Optimal Non-Bipartite Matching
Version 1.5.1

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()'.

Browse man pages Browse package API and functions Browse package files

AuthorCole Beck [aut, cre], Bo Lu [aut], Robert Greevy [aut]
Date of publication2016-04-19 08:12:05
MaintainerCole Beck <cole.beck@vanderbilt.edu>
LicenseGPL (>= 2)
Version1.5.1
URL http://biostat.mc.vanderbilt.edu/wiki/Main/MatchedRandomization
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("nbpMatching")

Man pages

assign.grp: Random Group Assignment
distancematrix: Distance matrix
fill.missing: Data Imputation
gendistance: Generate a Distance Matrix
get.sets: Get named sets of matches
make.phantoms: Add Phantom Rows and Columns
nbpMatching-internal: Internal nbpMatching objects.
nbpMatching-package: Nonbipartite Matching
nonbimatch: Nonbipartite Matching
qom: Quality of Match
quantile: Quantile for upper-triangular values in distance matrix
scalar.dist: Calculate scalar distance
subsetMatches: Subset Matches

Functions

.requireCachedGenerics Man page
[<-,distancematrix,ANY,ANY,ANY-method Man page
[<-,distancematrix-method Man page
[[<-,distancematrix,ANY,ANY,ANY-method Man page
[[<-,distancematrix-method Man page
assign.grp Man page
assign.grp,data.frame-method Man page
assign.grp,nonbimatch-method Man page
distancematrix Man page
distancematrix,character-method Man page
distancematrix,data.frame-method Man page
distancematrix,list-method Man page
distancematrix,matrix-method Man page
distancematrix-class Man page
fill.missing Man page
fill.missing,data.frame-method Man page
full.qom Man page
full.qom,data.frame-method Man page
gendistance Man page
gendistance,data.frame-method Man page
get.sets Man page
get.sets,data.frame-method Man page
get.sets,nonbimatch-method Man page
initialize,distancematrix-method Man page
make.phantoms Man page
make.phantoms,ANY,missing-method Man page
make.phantoms,data.frame,numeric-method Man page
make.phantoms,matrix,numeric-method Man page
nbpMatching Man page
nbpMatching-internal Man page
nbpMatching-package Man page
nonbimatch Man page
nonbimatch,distancematrix-method Man page
nonbimatch-class Man page
onAttach Source code
qom Man page
qom,data.frame,data.frame-method Man page
qom,data.frame,nonbimatch-method Man page
quantile Man page
quantile,distancematrix-method Man page
runner Man page
runner,data.frame-method Man page
scalar.dist Man page
scalar.dist,vector-method Man page
show,nonbimatch-method Man page
subsetMatches Man page
subsetMatches,nonbimatch-method Man page

Files

COPYING
src
src/fcorematch.f
src/mwrap.f
NAMESPACE
NEWS.md
R
R/nbpmatching-package.R
R/assign.grp.R
R/utils.R
R/quantile.R
R/distancematrix.R
R/nonbimatch.R
R/subsetMatches.R
R/fill.missing.R
R/qom.R
R/make.phantoms.R
R/gendistance.R
MD5
DESCRIPTION
man
man/gendistance.Rd
man/quantile.Rd
man/distancematrix.Rd
man/nonbimatch.Rd
man/scalar.dist.Rd
man/nbpMatching-package.Rd
man/fill.missing.Rd
man/assign.grp.Rd
man/nbpMatching-internal.Rd
man/get.sets.Rd
man/subsetMatches.Rd
man/make.phantoms.Rd
man/qom.Rd
nbpMatching documentation built on May 19, 2017, 6:04 p.m.