Spower: Power Analyses using Monte Carlo Simulations

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). 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.

Version: 0.3.1
Depends: SimDesign (≥ 2.20.0), R (≥ 4.1.0), stats
Imports: cocor, car, polycor, parallelly, methods, ggplot2, plotly, lavaan, EnvStats
Suggests: knitr, rmarkdown, bookdown, VGAM, copula, pwr
Published: 2025-07-17
Author: Phil Chalmers ORCID iD [aut, cre]
Maintainer: Phil Chalmers <rphilip.chalmers at gmail.com>
BugReports: https://github.com/philchalmers/Spower/issues?state=open
License: GPL (≥ 3)
URL: https://github.com/philchalmers/Spower
NeedsCompilation: no
Materials: README
CRAN checks: Spower results

Documentation:

Reference manual: Spower.html , Spower.pdf
Vignettes: G*Power examples evaluated with Spower (source)

Downloads:

Package source: Spower_0.3.1.tar.gz
Windows binaries: r-devel: Spower_0.2.3.zip, r-release: Spower_0.2.3.zip, r-oldrel: Spower_0.2.3.zip
macOS binaries: r-release (arm64): Spower_0.2.3.tgz, r-oldrel (arm64): Spower_0.2.3.tgz, r-release (x86_64): Spower_0.3.1.tgz, r-oldrel (x86_64): Spower_0.3.1.tgz
Old sources: Spower archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Spower to link to this page.