Package: Spower 0.6.3
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) 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>.
Authors:
Spower_0.6.3.tar.gz
Spower_0.6.3.zip(r-4.7)Spower_0.6.3.zip(r-4.6)Spower_0.6.3.zip(r-4.5)
Spower_0.6.3.tgz(r-4.6-any)Spower_0.6.3.tgz(r-4.5-any)
Spower_0.6.3.tar.gz(r-4.7-any)Spower_0.6.3.tar.gz(r-4.6-any)
Spower_0.6.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
Spower/json (API)
| # Install 'Spower' in R: |
| install.packages('Spower', repos = c('https://philchalmers.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/philchalmers/spower/issues
Pkgdown/docs site:https://philchalmers.github.io
Last updated from:20e39d4668. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 237 | ||
| source / vignettes | OK | 247 | ||
| linux-release-x86_64 | OK | 191 | ||
| macos-release-arm64 | OK | 135 | ||
| macos-oldrel-arm64 | OK | 132 | ||
| windows-devel | OK | 265 | ||
| windows-release | OK | 126 | ||
| windows-oldrel | OK | 117 | ||
| wasm-release | OK | 153 |
Exports:gen_2rgen_anova.testgen_chisq.testgen_glmgen_kruskal.testgen_mauchly.testgen_mcnemar.testgen_mediationgen_prop.testgen_rgen_slrgen_t.testgen_var.testgetLastSpowerintervalis.CI_withinis.outside_CImauchlys.testp_2rp_anova.testp_chisq.testp_glmp_kruskal.testp_ks.testp_lm.R2p_mauchly.testp_mcnemar.testp_mediationp_prop.testp_rp_r.catp_scalep_shapiro.testp_slrp_t.testp_var.testp_wilcox.testSpowerSpowerBatchSpowerCurve
Dependencies:abindadmiscaskpassaudiobackportsbase64encbeeprbootbriobroombslibcachemcallrcarcarDataclassclicliprcocorcodetoolscolorspacecowplotcpp11crayoncrosstalkcurldata.tableDerivdescdiffobjdigestdoBydplyre1071EnvStatsevaluatefarverfastmapfontawesomeforecastFormulafracdifffsfuturefuture.applygenericsggplot2globalsgluegtablehighrhtmltoolshtmlwidgetshttrisobandjquerylibjsonliteknitrlabelinglaterlatticelavaanlazyevallifecyclelistenvlme4lmtestmagrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamiraimnormtmodelrmvtnormnanonextnlmenloptrnnetnortestnumDerivopensslotelparallellypbapplypbivnormpbkrtestpillarpkgbuildpkgconfigpkgloadplotlypolycorpraiseprocessxprogressrpromisesproxypspurrrqs2quadprogquantregR.methodsS3R.ooR.utilsR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRdpackreformulasrlangrmarkdownrprojrootS7sassscalessessioninfoSimDesignSparseMstringfishstringistringrsurvivalsystestthattibbletidyrtidyselecttimeDatetinytexurcautf8vctrsviridisLitewaldowithrxfunyamlzoo
G*Power examples evaluated with Spower
Rendered fromgpower_examples.Rmdusingknitr::rmarkdownon May 06 2026.Last update: 2026-05-06
Started: 2024-10-24
Introduction to the Spower package
Rendered fromSpowerIntro.Rmdusingknitr::rmarkdownon May 06 2026.Last update: 2026-05-06
Started: 2025-07-31
Logical Vectors, Bayesian power analyses, and ROPEs
Rendered fromSpowerIntro_logicals.Rmdusingknitr::rmarkdownon May 06 2026.Last update: 2026-05-06
Started: 2025-09-03
Type M and Type S errors
Rendered fromSpower_TypeSM.Rmdusingknitr::rmarkdownon May 06 2026.Last update: 2026-05-06
Started: 2025-10-14
