Package: nbpMatching 1.5.6

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

Authors:Cole Beck [aut, cre], Bo Lu [aut], Robert Greevy [aut]

nbpMatching_1.5.6.tar.gz
nbpMatching_1.5.6.zip(r-4.7-x86_64)nbpMatching_1.5.6.zip(r-4.7-arm64)nbpMatching_1.5.6.zip(r-4.6-x86_64)nbpMatching_1.5.6.zip(r-4.6-arm64)nbpMatching_1.5.6.zip(r-4.5-x86_64)
nbpMatching_1.5.6.tgz(r-4.6-x86_64)nbpMatching_1.5.6.tgz(r-4.6-arm64)nbpMatching_1.5.6.tgz(r-4.5-x86_64)nbpMatching_1.5.6.tgz(r-4.5-arm64)
nbpMatching_1.5.6.tar.gz(r-4.7-arm64)nbpMatching_1.5.6.tar.gz(r-4.7-x86_64)nbpMatching_1.5.6.tar.gz(r-4.6-arm64)nbpMatching_1.5.6.tar.gz(r-4.6-x86_64)
nbpMatching_1.5.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
nbpMatching/json (API)

# Install 'nbpMatching' in R:
install.packages('nbpMatching', repos = c('https://couthcommander.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/couthcommander/nbpmatching/issues

On CRAN:

Conda:

6.79 score 9 stars 7 packages 82 scripts 2.0k downloads 4 mentions 13 exports 56 dependencies

Last updated from:5c43f28c25. Checks:14 OK, 1 WARNING. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK160
linux-devel-x86_64OK120
source / vignettesOK197
linux-release-arm64OK125
linux-release-x86_64OK137
macos-release-arm64OK116
macos-release-x86_64OK265
macos-oldrel-arm64OK120
macos-oldrel-x86_64OK171
windows-devel-arm64OK366
windows-devel-x86_64OK134
windows-release-arm64WARNING337
windows-release-x86_64OK108
windows-oldrel-x86_64OK104
wasm-releaseOK90

Exports:assign.grpdistancematrixfill.missingfull.qomgendistanceget.setsmake.phantomsnonbimatchqomquantilerunnerscalar.distsubsetMatches

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacecpp11data.tabledigestevaluatefarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglifecyclemagrittrMASSmemoisemimennetR6rappdirsRColorBrewerrlangrmarkdownrpartrstudioapiS7sassscalesstringistringrtinytexvctrsviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Nonbipartite MatchingnbpMatching-package nbpMatching
Random Group Assignmentassign.grp assign.grp,data.frame-method assign.grp,nonbimatch-method
Distance matrixdistancematrix distancematrix,character-method distancematrix,data.frame-method distancematrix,list-method distancematrix,matrix-method distancematrix-class
Data Imputationfill.missing fill.missing,data.frame-method
Generate a Distance Matrixgendistance gendistance,data.frame-method
Get named sets of matchesget.sets get.sets,data.frame-method get.sets,nonbimatch-method
Add Phantom Rows and Columnsmake.phantoms make.phantoms,ANY,missing-method make.phantoms,data.frame,numeric-method make.phantoms,matrix,numeric-method
Nonbipartite Matchingnonbimatch nonbimatch,distancematrix-method nonbimatch-class
Quality of Matchqom qom,data.frame,data.frame-method qom,data.frame,nonbimatch-method
Quantile for upper-triangular values in distance matrixquantile quantile,distancematrix-method
Calculate scalar distancescalar.dist scalar.dist,vector-method
Subset MatchessubsetMatches subsetMatches,nonbimatch-method