Skip to content

pwr4exp

1.0.1Package record

Power Analysis for Research Experiments

0packages depend
5.4Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.1

Bug fixes

  • Improved handling of the correlation argument in mkdesign(). 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

CRAN checks
13OK
Slowest check: 2.6 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.1
READMEYes · 267 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.1Citation fileYes · cites a publicationWebsiteYes · pkgdown
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

5.4K
CRAN downloads in the past year
Rank #4,090 · ~15/day · ~452/mo
Daily download trend is not available in this view yet.
35230 days
2.2K90 days
5.4K1 year
Compare downloads with other packages →
Also on78 r2u8 autocran

Repository

4Stars
2Forks
0Open issues
0Open PRs
3Releases
78Commits
1Commit identities
License file reads as GPL-2.0 · 78 commits · Last activity 2025-11-11 · +33.3% stars, 30d · Default branch at 1.0.1.9000, ahead of CRAN 1.0.1 (checked 2026-10-18) · Discussions: 1 post
Responsiveness
How these are sampled
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

2025-05-28 · 32026-10-13 · 4
PracticesBeta

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.

Continuous integration (1)
GitHub Actions
Docs source (3)
pkgdown

GitHub Pages site last deployed 2025-11-11 · The repository has a site deploy workflow

pkgdown site last built 2025-11-11

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2025-11-10
    Pull request: opened by its own account
Review tools
  • Copilot code review
    Commits: at least 5 accepting its review suggestions
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing pwr4exp adds 5 packages (2 with compiled code, 3.8 MB of source tarballs). Heaviest: emmeans 1.7 MB, mvtnorm 1.0 MB, rlang 766 KB.

Depends (2)
R >= 2.10stats
Imports (6)
emmeansMASSMatrixmethodsnlmenumDeriv
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2024), Copyright holder
Author, Copyright holder
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    record
    2025-11-11 · current release · diff ↗ ·
    added 10 exports
    corAR1, corARMA, corCAR1, corCompSymm, corExp, corGaus, corLin, corRatio, corSpher, corSymm
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.0
    record
    2025-03-17 · diff ↗ ·
    removed 2 exports
    designCustom, find_sample_size
    added 2 exports
    mkdesign, pwr.summary
  • 0.1.0
    record
    2024-10-11
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for pwr4exp version 1.0.1 [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