Skip to content

stratamatch

0.1.9Package record

Stratification and Matching for Large Observational Data Sets

0packages depend
5.5Kdownloads / year
72.7%test coverage
11/13flavors OK

Overview

About

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
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Rachael C. Aikens <rockyaikens@gmail.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

CRAN check page ↗

Slowest check: 3.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-09-18
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-09-17
  • NOTE11 OK, 2 NOTE2026-09-16
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-09-15
  • NOTE11 OK, 2 NOTE2026-08-23
Show 18 earlier changesHide 18 earlier changes
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-08-16
  • NOTE11 OK, 2 NOTE2026-08-09
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-08-06
  • NOTE11 OK, 2 NOTE2026-07-23
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-07-19
  • NOTE11 OK, 2 NOTE2026-06-27
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-06-24
  • NOTE11 OK, 2 NOTE2026-06-13
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-06-12
  • NOTE11 OK, 2 NOTE2026-06-09
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-06-08
  • NOTE11 OK, 2 NOTE2026-05-21
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-05-20
  • NOTE11 OK, 2 NOTE2026-05-14
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-05-12
  • NOTE12 OK, 2 NOTE2026-03-15
  • ERROR12 OK, 1 NOTE, 1 ERROR2026-03-14
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.9
READMENoVignettesYes · 2 · staticNEWSNoCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
44 (26 internal)includes a package overview page
Examples that run
100%15 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
90%
Help pages citing references
0%

Downloads

5.5K
CRAN downloads in the past year
Rank #8,445 · ~15/day · ~462/mo
Daily download trend is not available in this view yet.
41530 days
1.1K90 days
5.5K1 year
Compare downloads with other packages →
Also on90 r2u3 autocran94 c2d4u

Repository

PracticesBeta

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

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing stratamatch adds 58 packages (30 with compiled code, 54 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 3.4.0
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (5)
Author, Maintainer since 0.1.0 (2019)
Releases (10)

Pick two releases to compare their code metrics.

  • 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
    record
    2022-03-31 · current release · diff ↗
  • 0.1.8
    record
    2022-03-02 · diff ↗
  • 0.1.7
    record
    2021-05-26 · diff ↗ ·
    added 1 export
    make_match_distances
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.6
    record
    2021-01-08 · diff ↗ ·
    added 1 export
    extract_cut_points
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.5
    record
    2020-04-09 · diff ↗
  • 0.1.4
    record
    2020-02-19 · diff ↗
  • 0.1.3
    record
    2020-01-14 · diff ↗
  • 0.1.2
    record
    2019-11-22 · diff ↗
  • 0.1.1
    record
    2019-11-06 · diff ↗
Show 2 earlier eventsHide 2 earlier events
  • 0.1.0
    record
    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
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("stratamatch")

The package provides a citation file, so citation() returns the authors' own entry.

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-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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