Skip to content

ri2

Randomization Inference for Randomized Experiments

v0.4.1 · Oct 14, 2025 · MIT + file LICENSE

Description

Randomization inference procedures for simple and complex randomized designs, including multi-armed trials, as described in Gerber and Green (2012, ISBN: 978-0393979954). Users formally describe their randomization procedure and test statistic. The randomization distribution of the test statistic under some null hypothesis is efficiently simulated.

Downloads

CRAN

342

Last 30 days

11534th

1K

Last 90 days

5.6K

Last year

Trend: +46.8% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

24

Last 90 days

117

Last year

Trend: -40% (30d vs prior 30d)

autoCRAN

2

Last 7 days

8

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies randomizr estimatr generics ggplot2 pbapply ri2

Version History

7 tracked
new 0.4.1 Mar 10, 2026
updated 0.4.1 ← 0.4.0 diff Oct 13, 2025
updated 0.4.0 ← 0.2.0 diff May 25, 2022
updated 0.2.0 ← 0.1.2 diff Dec 6, 2020
updated 0.1.2 ← 0.1.1 diff Jan 23, 2019
updated 0.1.1 ← 0.1.0 diff Mar 25, 2018
new 0.1.0 Jan 30, 2018