Skip to content

Power Analyses using Monte Carlo Simulations

0packages depend
3.9Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

Provides a general purpose simulation-based power analysis API for routine and customized simulation experimental designs. The package focuses exclusively on Monte Carlo simulation experiment variants of (expected) prospective power analyses, criterion analyses, compromise analyses, sensitivity analyses, and a priori/post-hoc analyses. The default simulation experiment functions defined within the package provide stochastic variants of the power analysis subroutines in G*Power 3.1 (Faul, Erdfelder, Buchner, and Lang, 2009) doi:10.3758/brm.41.4.1149, along with various other parametric and non-parametric power analysis applications (e.g., mediation analyses) and support for Bayesian power analysis by way of Bayes factors or posterior probability evaluations. Additional functions for building empirical power curves, reanalyzing simulation information, and for increasing the precision of the resulting power estimates are also included, each of which utilize similar API structures. For further details see the associated publication in Chalmers (2025) doi:10.3758/s13428-025-02787-z.

Install

Health

CRAN checks
13OK
Slowest check: 4.2 min · r-release-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-30
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-03-28
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.7
READMEYes · 615 wordsVignettesYes · 4 · dynamicNEWSNoCitation fileNoWebsiteYes · pkgdown
Help pages
24
Examples that run
96%22 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
96%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.9K
CRAN downloads in the past year
Rank #8,173 · ~11/day · ~326/mo
Daily download trend is not available in this view yet.
45630 days
1.1K90 days
3.9K1 year
Compare downloads with other packages →
Also on148 r2u8 autocran

Repository

5Stars
2Forks
0Open issues
0Open PRs
7Releases
492Commits
1Commit identities
492 commits · Last activity 2026-10-19 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-04-28 · 12026-08-28 · 5
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/philchalmers/spower on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-15 · The repository has a site deploy workflow

pkgdown site last built 2026-10-15, before release 0.7 (2026-10-16)

Reproducibility and dev environment (1)
Makefile
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing Spower adds 139 packages (69 with compiled code, 105 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (3)
R >= 4.1.0SimDesignstats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.2.2 (2025)
Releases (11)

Pick two releases to compare their code metrics.

Package metadata

First published
2025-03-25
Total releases
11 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Download size
7.5 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("Spower")
Chalmers, P. (2026). Spower: Power Analyses using Monte Carlo Simulations (Version 0.7) [Computer software]. https://doi.org/10.32614/CRAN.package.Spower

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 Spower version 0.7 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

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