Power Analysis for Research Experiments
Overview
Provides tools for calculating statistical power for experiments analyzed using linear mixed models. It supports standard designs, including randomized block, split-plot, and Latin Square designs, while offering flexibility to accommodate a variety of other complex study designs.
Bug fixes
- Improved handling of the
correlationargument inmkdesign(). Fixed an issue where correlation structures failed when passed through variables — they now work correctly when supplied as variable inputs instead of direct expressions.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 32 (10 internal)
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 33%
- Documented parameters
- 100%
- Return-value docs
- 33%
- Help pages citing references
- 3%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 18
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/an-ethz/pwr4exp on 2026-10-18.
GitHub Pages site last deployed 2025-11-11 · The repository has a site deploy workflow
pkgdown site last built 2025-11-11
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2025-11-10Pull request: opened by its own account
- Copilot code reviewCommits: at least 5 accepting its review suggestions
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.1Latest2025-11-11 · current release · diff ↗ ·
added 10 exports
corAR1, corARMA, corCAR1, corCompSymm, corExp, corGaus, corLin, corRatio, corSpher, corSymm - RR 4.5.0 released · 2025-04-11
- 1.0.02025-03-17 · diff ↗ ·
removed 2 exports
designCustom, find_sample_sizeadded 2 exports
mkdesign, pwr.summary - 0.1.02024-10-11
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-10-11
- Total releases
- 3 / 2 yrs
- License
- GPL (>= 2) OSI · relicensed from MIT + file LICENSE in 1.0.0
- Minimum R
- ≥ 2.10
- Bundled data
- 0.7 KB / 1 file
- Download size
- 88 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("pwr4exp")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.3168/jds.2024-25793.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
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.