Skip to content

GreedyExperimentalDesign

1.6.1

Greedy Experimental Design Construction

1packages depend
5.5Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Adam KapelnerFirst published 2016-12-089 releasesCRAN page ↗GitHub ↗

Computes experimental designs for two-arm experiments with covariates using multiple methods, including: (0) complete randomization and randomization with forced-balance; (1) greedy optimization of a balance objective function via pairwise switching; (2) numerical optimization via 'gurobi'; (3) rerandomization; (4) Karp's method for one covariate; (5) exhaustive enumeration for small sample sizes; (6) binary pair matching using 'nbpMatching'; (7) binary pair matching plus method (1) to further optimize balance; (8) binary pair matching plus method (3) to further optimize balance; (9) Hadamard designs; and (10) simultaneous multiple kernels. For the greedy, rerandomization, and related methods, three objective functions are supported: Mahalanobis distance, standardized sums of absolute differences, and kernel distances via the 'kernlab' library. This package is the result of a stream of research that can be found in Krieger, A. M., Azriel, D. A., and Kapelner, A. (2019). "Nearly Random Designs with Greatly Improved Balance." Biometrika 106(3), 695-701 doi:10.1093/biomet/asz026. Krieger, A. M., Azriel, D. A., and Kapelner, A. (2023). "Better experimental design by hybridizing binary matching with imbalance optimization." Canadian Journal of Statistics, 51(1), 275-292 doi:10.1002/cjs.11685.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
Slowest check: 5.7 min · r-devel-linux-x86_64-fedora-clang
Check history
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-05-01
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • OK2026-04-06
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-04
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation signals are not tracked yet for this package.

Downloads

5.5K
CRAN downloads in the past year
Rank #5,568 · ~15/day · ~460/mo
GreedyExperimentalDesign
Daily download trend is not available in this view yet.
33030 days
1.7K90 days
5.5K1 year
Compare downloads with other packages →
Also on473 r2u

Repository

Repository
0Stars
2Forks
0Open issues
0Open PRs
0Releases
199Commits
4Contributors
199 commits · Last activity 2026-05-06

Repository practices

Upstream repositoryBeta

Checks run against github.com/kapelner/greedyexperimentaldesign on 2026-07-19.

No development-tooling practices detected in the upstream repository.

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

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)
Depends (2)
R >= 4.1.0rJava
LinkingTo (1)
Suggests (3)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 1.5
Listed in earlier versions (1)
no longer listed · 1.0 to 1.4
Package Timeline

9 releases. R releases are shown for context.

  • 1.6.1Latest
    2026-04-30 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.6
    2026-01-09 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.5.6.1
    2023-07-12 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.5.5
    2022-11-17 · diff ↗
  • 1.5
    2022-11-04 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.4
    2020-12-07 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.2
    2018-07-15 · diff ↗
  • unarchivedReturned to CRAN
    2018-07-15
Show 6 earlier events
  • archivedRemoved from CRAN
    2018-05-27
    installation errors with Java 10 were not corrected despite reminders
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1
    2018-03-02 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0
    2016-12-08
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-12-08
Total releases
9 / 10 yrs
License
GPL-3 OSI
Download size
117 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →