Skip to content

optmatch

0.10.8

Functions for Optimal Matching

22packages depend
99.6Kdownloads / year
74.1%test coverage
13/13checks pass

Overview

About
Maintained by Josh ErricksonFirst published 2005-10-2948 releasesCRAN page ↗GitHub ↗

Distance based bipartite matching using minimum cost flow, oriented to matching of treatment and control groups in observational studies ('Hansen' and 'Klopfer' 2006 doi:10.1198/106186006X137047). Routines are provided to generate distances from generalised linear models (propensity score matching), formulas giving variables on which to limit matched distances, stratified or exact matching directives, or calipers, alone or in combination.

Install

Health

CRAN checks
13OK
Slowest check: 6.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.93
74.1%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    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-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-06-07
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
93%
References docs
17%

Downloads

99.6K
CRAN downloads in the past year
Rank #1,470 · ~273/day · ~8.3K/mo
Daily download trend is not available in this view yet.
5.6K30 days
19K90 days
99.6K1 year
Compare downloads with other packages →
Also on4.2K r2u17 autocran2.3K conda_forge166 c2d4u

Repository

Repository
50Stars
14Forks
33Open issues
1Open PRs
0Releases
1,736Commits
11Contributors
matchingrr-package
1,736 commits · Last activity 2026-07-08 · 0% stars, 30d

Stars over time

2025-06-29 · 482026-07-07 · 50

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/markmfredrickson/optmatch on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (2)
data-raw/Makefile
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (7)
Rcppdplyrstatstibblemethodsgraphicsrlemon
LinkingTo (1)
Enhances (0)
none

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Maintainer, Author · added in 0.9-0
Authors (4)
Maintainer, Author · added in 0.9-0
Author · added in 0.9-0
Author · added in 0.6-0
Author · added in 0.10.0
Contributors (1)
Contributor · added in 0.9-11
Listed in earlier versions (9)
no longer listed · 0.1-6 to 0.9-17
no longer listed · 0.1-6 to 0.4-1
no longer listed · 0.5-0 to 0.9-17
no longer listed · 0.9-1 to 0.9-10
Package Timeline

48 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
  • 0.10.8Latest
    2024-09-19 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.10.7
    2023-11-15 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.10.6
    2023-02-07 · diff ↗
  • 0.10.5
    2022-08-15 · diff ↗
  • 0.10.4
    2022-08-09 · diff ↗
  • 0.10.3
    2022-05-16 · diff ↗
  • 0.10.2
    2022-05-15 · diff ↗
  • 0.10.1
    2022-05-13 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.10.0
    2022-03-15 · diff ↗
  • unarchivedReturned to CRAN
    2022-03-15
  • archivedRemoved from CRAN
    2022-02-23
    still requires archived package 'RItools'
Show 64 earlier events
  • 0.9-17
    2022-02-22 · diff ↗
  • unarchivedReturned to CRAN
    2022-02-22
  • archivedRemoved from CRAN
    2022-02-19
    requires archived package 'RItools'
  • 0.9-15
    2021-08-17 · diff ↗
  • 0.9-14
    2021-05-26 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9-13
    2019-12-06 · diff ↗
  • 0.9-12
    2019-10-11 · diff ↗
  • 0.9-11
    2019-07-12 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.9-10
    2018-07-12 · diff ↗
  • 0.9-9
    2018-05-15 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.9-8
    2018-01-17 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.9-7
    2016-12-30 · diff ↗
  • 0.9-6
    2016-05-03 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.9-5
    2015-07-31 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.9-3
    2014-08-13 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 0.9-1
    2013-11-01 · diff ↗
  • 0.9-0
    2013-08-10 · diff ↗
  • 0.8-3
    2013-05-16 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.8-1
    2013-01-03 · diff ↗
  • 0.8-0
    2012-11-17 · diff ↗
  • 0.7-5
    2012-07-27 · diff ↗
  • 0.7-3
    2012-04-02 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • 0.7-1
    2011-03-06 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • 0.7-0
    2010-07-30 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 0.6-1
    2010-02-11 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • 0.6-0
    2009-09-28 · diff ↗
  • 0.5-0
    2009-05-19 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • R
    R 2.8.0 released · 2008-10-20
  • 0.4-1
    2008-07-05 · diff ↗
  • 0.4-0
    2008-05-20 · diff ↗
  • 0.3-9
    2008-05-14 · diff ↗
  • 0.3-8
    2008-05-13 · diff ↗
  • R
    R 2.7.0 released · 2008-04-22
  • 0.3-4
    2008-02-27 · diff ↗
  • R
    R 2.6.0 released · 2007-10-03
  • 0.3-3
    2007-08-25 · diff ↗
  • 0.3-2
    2007-08-09 · diff ↗
  • 0.3-1
    2007-07-09 · diff ↗
  • 0.2-3
    2007-05-10 · diff ↗
  • R
    R 2.5.0 released · 2007-04-24
  • 0.2-2
    2007-04-16 · diff ↗
  • 0.2-1
    2006-10-30 · diff ↗
  • R
    R 2.4.0 released · 2006-10-03
  • 0.2
    2006-06-12 · diff ↗
  • R
    R 2.3.0 released · 2006-04-24
  • 0.1-7
    2006-04-05 · diff ↗
  • 0.1-6
    2005-10-29
  • R
    R 2.2.0 released · 2005-10-06

Package metadata

First published
2005-10-29
Total releases
48 / 21 yrs
License
MIT + file LICENSE OSI
Additional repositories
errickson.net
Minimum R
≥ 3.5.0
Bundled data
1.2 KB / 2 files
Download size
1.0 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("optmatch")
Errickson, J., Buckner, J., Fredrickson, M., Hansen, B., & Rauh, A. (2024). optmatch: Functions for Optimal Matching (Version 0.10.8) [Computer software]. https://doi.org/10.32614/CRAN.package.optmatch

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for optmatch version 0.10.8 [Data set]. HJJB, LLC. Data release v2026-08-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

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