Package: Spower 0.2.2

Phil Chalmers

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 variants of (expected) prospective power analyses, criterion power analyses, compromise power analyses, sensitivity analyses, and prospective/post-hoc power analyses. The default simulation experiment functions found within the package provide stochastic variants of the power analyses subroutines found in the G*Power 3 software (Faul, Erdfelder, Buchner, and Lang, 2009) <doi:10.3758/brm.41.4.1149>, along with various other power analysis examples (e.g., mediation analyses). Supporting functions are also included, such as for building empirical power curve estimates, which utilize a similar API structure.

Authors:Phil Chalmers [aut, cre]

Spower_0.2.2.tar.gz
Spower_0.2.2.tar.gz(r-4.5-noble)Spower_0.2.2.tar.gz(r-4.4-noble)
Spower_0.2.2.tgz(r-4.4-emscripten)Spower_0.2.2.tgz(r-4.3-emscripten)
Spower.pdf |Spower.html
Spower/json (API)

# Install 'Spower' in R:
install.packages('Spower', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/philchalmers/spower/issues

On CRAN:

Conda:

2.70 score 34 exports 134 dependencies

Last updated 2 hours agofrom:36b55bbe84. Checks:3 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 25 2025
R-4.5-linuxOKMar 25 2025
R-4.4-linuxOKMar 25 2025

Exports:gen_2rgen_anova.testgen_chisq.testgen_glmgen_kruskal.testgen_mauchly.testgen_mcnemar.testgen_mediationgen_prop.testgen_rgen_t.testgen_var.testgetLastSpowermauchlys.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_t.testp_var.testp_wilcox.testSpowerSpowerCurve

Dependencies:abindadmiscaskpassaudiobackportsbase64encbeeprbootbriobroombslibcachemcallrcarcarDataclicocorcodetoolscolorspacecowplotcpp11crayoncrosstalkcurldata.tableDerivdescdiffobjdigestdoBydplyrEnvStatsevaluatefansifarverfastmapfontawesomeFormulafsfuturefuture.applygenericsggplot2globalsgluegtablehighrhtmltoolshtmlwidgetshttrisobandjquerylibjsonliteknitrlabelinglaterlatticelavaanlazyevallifecyclelistenvlme4magrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamnormtmodelrmunsellmvtnormnlmenloptrnnetnortestnumDerivopensslparallellypbapplypbivnormpbkrtestpillarpkgbuildpkgconfigpkgloadplotlypolycorpraiseprocessxprogressrpromisespspurrrquadprogquantregR.methodsS3R.ooR.utilsR6rappdirsrbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangrmarkdownrprojrootsassscalessessioninfoSimDesignSparseMstringistringrsurvivalsystestthattibbletidyrtidyselecttinytexutf8vctrsviridisLitewaldowithrxfunyaml

G*Power examples evaluated with Spower

Rendered fromgpower_examples.Rmdusingknitr::rmarkdownon Mar 25 2025.

Last update: 2025-03-25
Started: 2025-03-25

Readme and manuals