CRAN/E | nbpMatching

nbpMatching

Functions for Optimal Non-Bipartite Matching

Installation

About

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

biostat.app.vumc.org/wiki/Main/MatchedRandomization

Key Metrics

Version 1.5.5
Published 2024-05-17 143 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks nbpMatching results

Downloads

Yesterday 14 0%
Last 7 days 150 -52%
Last 30 days 695 +47%
Last 90 days 1.661 +1%
Last 365 days 6.185 +34%

Maintainer

Maintainer

Cole Beck

Authors

Cole Beck

aut / cre

Bo Lu

aut

Robert Greevy

aut

Material

NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

nbpMatching archive

Imports

methods
stats
Hmisc
MASS
utils

Reverse Depends

nearfar

Reverse Imports

GPSCDF
GreedyExperimentalDesign

Reverse Suggests

blockTools
hamlet
rsmatch