match2C: Match One Sample using Two Criteria

Multivariate matching in observational studies typically has two goals: 1. to construct treated and control groups that have similar distribution of observed covariates and 2. to produce matched pairs or sets that are homogeneous in a few priority variables. This packages implements a network-flow-based method built around a tripartite graph that can simultaneously achieve both goals. The package also implements a template matching algorithm using a variant of the tripartite graph design. A brief description of the workflow and some examples are given in the vignette. A more elaborated tutorial can be found at <>.

Version: 1.2.4
Imports: ggplot2, mvnfast, rcbalance, Rcpp, stats, utils
LinkingTo: Rcpp
Suggests: dplyr, knitr, mvtnorm, RItools, rmarkdown
Published: 2023-03-17
Author: Bo Zhang [aut, cre]
Maintainer: Bo Zhang <bzhang3 at>
License: MIT + file LICENSE
NeedsCompilation: yes
In views: CausalInference
CRAN checks: match2C results


Reference manual: match2C.pdf
Vignettes: Tutorial for R Package match2C


Package source: match2C_1.2.4.tar.gz
Windows binaries: r-prerel:, r-release:, r-oldrel:
macOS binaries: r-prerel (arm64): match2C_1.2.4.tgz, r-release (arm64): match2C_1.2.4.tgz, r-oldrel (arm64): match2C_1.2.4.tgz, r-prerel (x86_64): match2C_1.2.4.tgz, r-release (x86_64): match2C_1.2.4.tgz
Old sources: match2C archive


Please use the canonical form to link to this page.