Skip to content

triplesmatch

1.1.0

Match Triples Consisting of Two Controls and a Treated Unit or Vice Versa

0packages depend
1.9Kdownloads / year
52.5%test coverage
13/13checks pass

Overview

About
Maintained by Katherine BrumbergFirst published 2023-10-232 releasesCRAN page ↗

Attain excellent covariate balance by matching two treated units and one control unit or vice versa within strata. Using such triples, as opposed to also allowing pairs of treated and control units, allows easier interpretation of the two possible weights of observations and better insensitivity to unmeasured bias in the test statistic. Using triples instead of matching in a fixed 1:2 or 2:1 ratio allows for the match to be feasible in more situations. The 'rrelaxiv' package, which provides an alternative solver for the underlying network flow problems, carries an academic license and is not available on CRAN, but may be downloaded from 'GitHub' at https://github.com/josherrickson/rrelaxiv/. The 'Gurobi' commercial optimization software is required to use the two functions [infsentrip()] and [triplesIP()]. These functions are not essential to the main purpose of this package. A free academic license can be obtained at https://www.gurobi.com/features/academic-named-user-license/. The 'gurobi' R package can then be installed following the instructions at https://www.gurobi.com/documentation/9.1/refman/ins_the_r_package.html.

Install

Health

CRAN checks
13OK
Slowest check: 1.9 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.25
52.5%
Coverage · measured lines
100%
Documentation · exports
8
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-07
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 173 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

1.9K
CRAN downloads in the past year
Rank #21,227 · ~5/day · ~159/mo
Daily download trend is not available in this view yet.
12730 days
51190 days
1.9K1 year
Compare downloads with other packages →
Also on96 r2u1 autocran

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (8)
rcbalancerlemonstatsgraphicsMASSoptmatchutilsrlang
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.0Latest
    2024-07-29 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.0
    2023-10-23
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-10-23
Total releases
2 / 3 yrs
License
GPL-3 OSI
Download size
32 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("triplesmatch")

CRAN DOI

https://doi.org/10.32614/CRAN.package.triplesmatch

BibTeX, derived from DESCRIPTION

@Manual{triplesmatch,
  title  = {triplesmatch: Match Triples Consisting of Two Controls and a Treated Unit or
Vice Versa},
  author = {Brumberg, Katherine},
  year   = {2024},
  note   = {R package version 1.1.0},
  doi    = {10.32614/CRAN.package.triplesmatch},
  url    = {https://CRAN.R-project.org/package=triplesmatch}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatorytriplesmatch,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {triplesmatch} version 1.1.0},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/triplesmatch},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for triplesmatch version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/triplesmatch

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for triplesmatch version 1.1.0
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/triplesmatch
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/triplesmatch.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy