Package: Spower
Title: Power Analyses using Monte Carlo Simulations
Version: 0.6
Authors@R: 
   person("Phil", family="Chalmers", email =
                     "rphilip.chalmers@gmail.com", role = c("aut", "cre"), 
                     comment = c(ORCID="0000-0001-5332-2810"))
Description: 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>.
Depends: SimDesign (>= 2.22.3), R (>= 4.1.0), stats
Imports: cocor, car, polycor, parallelly, methods, ggplot2, plotly,
        lavaan, EnvStats
Suggests: knitr, rmarkdown, bookdown, extraDistr, copula, effectsize,
        pwr
VignetteBuilder: knitr
ByteCompile: yes
License: GPL (>= 3)
Encoding: UTF-8
Repository: CRAN
Maintainer: Phil Chalmers <rphilip.chalmers@gmail.com>
URL: https://philchalmers.github.io/Spower/,
        https://github.com/philchalmers/Spower
BugReports: https://github.com/philchalmers/Spower/issues?state=open
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-02-13 17:03:22 UTC; phil
Author: Phil Chalmers [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-5332-2810>)
Date/Publication: 2026-02-13 17:40:10 UTC
Built: R 4.4.3; ; 2026-03-23 06:03:05 UTC; windows
