Skip to content

stratamatch

0.1.9

Stratification and Matching for Large Observational Data Sets

0packages depend
5.6Kdownloads / year
72.7%test coverage
10/13checks pass

Overview

About
Maintained by Rachael C. AikensFirst published 2019-10-2410 releasesCRAN page ↗GitHub ↗

A pilot matching design to automatically stratify and match large datasets. The manual_stratify() function allows users to manually stratify a dataset based on categorical variables of interest, while the auto_stratify() function does automatically by allocating a held-aside (pilot) data set, fitting a prognostic score (see Hansen (2008) doi:10.1093/biomet/asn004) on the pilot set, and stratifying the data set based on prognostic score quantiles. The strata_match() function then does optimal matching of the data set in parallel within strata.

Install

Health

CRAN checks
1ERROR2NOTE10OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • ERROR r-release-linux-x86_64
Slowest check: 3.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.63
72.7%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • ERROR2026-08-16
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-08-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-08-06
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-07-23
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-19
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 13 earlier snapshots
  • NOTE2026-06-27
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-24
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-06-13
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-12
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-05-21
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-20
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-05-14
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-12
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-15
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-14
    12 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
90%
References docs
0%

Downloads

5.6K
CRAN downloads in the past year
Rank #7,590 · ~15/day · ~463/mo
Daily download trend is not available in this view yet.
17830 days
1.2K90 days
5.6K1 year
Compare downloads with other packages →
Also on121 r2u17 autocran49 c2d4u

Repository

Repository practices

Upstream repositoryBeta

Repository github.com/raikens1/stratamatch is linked, but repository-practices checks have not run for it yet.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.4.0
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (5)
Author, Maintainer
Package Timeline

10 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
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.9Latest
    2022-03-31 · current release · diff ↗
  • 0.1.8
    2022-03-02 · diff ↗
  • 0.1.7
    2021-05-26 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.6
    2021-01-08 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.5
    2020-04-09 · diff ↗
  • 0.1.4
    2020-02-19 · diff ↗
  • 0.1.3
    2020-01-14 · diff ↗
  • 0.1.2
    2019-11-22 · diff ↗
  • 0.1.1
    2019-11-06 · diff ↗
Show 2 earlier events
  • 0.1.0
    2019-10-24
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-10-24
Total releases
10 / 7 yrs
License
GPL-3 OSI
Minimum R
≥ 3.4.0
Bundled data
39 KB / 1 file
Download size
710 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("stratamatch")
Aikens, R. C., Baiocchi, M., Chen, J., Lee, J., & Rigdon, J. (2022). stratamatch: Stratification and Matching for Large Observational Data Sets (Version 0.1.9) [Computer software]. https://doi.org/10.32614/CRAN.package.stratamatch

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 stratamatch version 0.1.9 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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