The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

ggpower

R-CMD-check

Documentation: https://yaoxiangli.github.io/ggpower/

ggpower is an R package and Shiny application for statistical power analysis. It provides a scriptable API through power_compute() and a wide-screen GUI with six modules:

  1. Choose a test family and statistical test.
  2. Choose a power-analysis type.
  3. Enter input parameters.
  4. Calculate output parameters.
  5. Inspect distribution plots, X-Y power plots, and protocol history.

Supported Analysis Modes

Supported Test Families

Some advanced procedures use documented approximations. The result object includes method notes so these cases are visible in the GUI and protocol. See the approximation catalog.

Examples

power_compute(
  "t_one_sample",
  "a_priori",
  d = 0.625,
  alpha = 0.05,
  power = 0.95,
  tails = "one"
)

power_compute(
  "f_mreg_omnibus",
  "post_hoc",
  f2 = 0.1111111,
  alpha = 0.05,
  total_n = 95,
  predictors = 5
)

Run the app with:

ggpower::run_app()

Validation

The test suite includes golden reference examples, solver tests for the five analysis modes, registry checks, and Shiny module smoke tests.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.