Package: ggpower 0.1.3

ggpower: Publication-Ready Power Analysis and Visualization

Provides statistical power analysis and sample size calculations for t-tests, ANOVA, regression, chi-square, proportion, correlation, nonparametric, biomarker, and clinical trial designs. Includes a scriptable API via power_compute(), publication-ready 'ggplot2' visualizations, and an optional 'Shiny' application.

Authors:Yaoxiang Li [aut, cre]

ggpower_0.1.3.tar.gz
ggpower_0.1.3.zip(r-4.7-any)ggpower_0.1.3.zip(r-4.6-any)ggpower_0.1.3.zip(r-4.5-any)
ggpower_0.1.3.tgz(r-4.6-any)ggpower_0.1.3.tgz(r-4.5-any)
ggpower_0.1.3.tar.gz(r-4.7-any)ggpower_0.1.3.tar.gz(r-4.6-any)
ggpower_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ggpower/json (API)

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

Bug tracker:https://github.com/yaoxiangli/ggpower/issues

Pkgdown/docs site:https://yaoxiangli.github.io

On CRAN:

Conda:

biomarkerclinical-trialsggplot2power-analysissample-sizeshinystatistics

5.85 score 70 scripts 289 downloads 26 exports 41 dependencies

Last updated from:6c2edf163e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK146
source / vignettesOK240
linux-releaseOK139
macos-releaseOK92
macos-oldrelOK130
windows-develOK97
windows-releaseOK93
windows-oldrelOK92
wasm-releaseOK145

Exports:effect_size_deffect_size_feffect_size_f2effect_size_f2_increaseeffect_size_heffect_size_qeffect_size_weta2_from_fformat_result_htmlggpower_calculatorggpower_resultggpower_t_one_sampleggpower_testsggpower_ttestodds_ratio_from_probsplot_distributionplot_power_curvepower_computepower_t_one_samplepower_t_pairedpower_t_two_sampler2_from_f2run_appsave_distribution_plotsave_power_plottheme_ggpower

Dependencies:base64encbslibcachemclicommonmarkcpp11digestfarverfastmapfontawesomefsggplot2gluegtablehtmltoolshttpuvisobandjquerylibjsonlitelabelinglaterlifecyclemagrittrmemoisemimeotelpromisesR6rappdirsRColorBrewerRcpprlangS7sassscalesshinysourcetoolsvctrsviridisLitewithrxtable

Analysis Modes
A priori — sample size | Post hoc — achieved power | Criterion — alpha | Sensitivity — effect size | Compromise — alpha and beta ratio | Effect size conversions | Calculator | Related

Last update: 2026-06-29
Started: 2026-06-29

Biomarker Endpoints
Differential expression | ROC and AUC | Diagnostic accuracy | Survival (log-rank) | Cox prognostic models | Multiplicity and FDR | Related

Last update: 2026-06-29
Started: 2026-06-29

Choosing a Power Analysis
Example: Planning a One-Sample Mean Test | Choosing tests | Sidebar modules | Related

Last update: 2026-06-29
Started: 2026-06-29

Clinical Trials
Phase III superiority | Non-inferiority | Equivalence (TOST) | Simon two-stage (Phase II) | Cluster RCT | Survival endpoints | Binary and count endpoints | Related

Last update: 2026-06-29
Started: 2026-06-29

Getting Started with the GUI
In plain English | Sidebar modules | Launch the app | Typical workflow | Worked example (script) | Related analyses

Last update: 2026-06-29
Started: 2026-06-29

Reference Validation
Example 1: One-sample t, a priori | Example 2: Multiple regression omnibus, post hoc | Example 3: ANOVA special, post hoc | Example 4: Two-sample t, unequal n, post hoc | Recommended tolerances | Related

Last update: 2026-06-29
Started: 2026-06-29

Scenario Guide
Implemented scenarios (48 tests) | Power Workspace (30 tests) | Biomarker Discovery (7 tests) | Clinical Trials (11 tests) | Decision table | Not yet implemented | Related

Last update: 2026-06-29
Started: 2026-06-29

Support Matrix
Coverage table | Counts by module | Mode restrictions | Vignette index | Related analyses

Last update: 2026-06-29
Started: 2026-06-29

t Tests
One sample | Two independent means | Matched pairs | Point-biserial correlation | Linear regression slope | Two-group slope difference | Generic t (direct NCP) | Related

Last update: 2026-06-29
Started: 2026-06-29

Workspace Test Families
ANOVA and regression | Exact and proportion tests | Correlation and z tests | Logistic and Poisson regression | Nonparametric tests | Related

Last update: 2026-06-29
Started: 2026-06-29