Skip to contents

Compute API

power_compute()
Compute statistical power analyses
ggpower_tests()
List supported statistical power tests
ggpower_result()
Create a ggpower result object
format_result_html()
Format a ggpower result as structured HTML for Shiny UI

t-test Helpers

power_t_one_sample()
Compute Power for a One-Sample t-Test
power_t_two_sample()
Compute Power for a Two-Sample t-Test (Equal Sample Sizes)
power_t_paired()
Compute power for a paired-samples t-test
ggpower_t_one_sample()
Plot Power Curve for a One-Sample t-Test
ggpower_ttest()
Plot Power Curve for a Two-Sample t-Test

Effect Sizes

Publication Figures

theme_ggpower()
Publication-ready ggpower theme
plot_power_curve()
Plot a power curve
plot_distribution()
Plot H0 and H1 distributions
save_power_plot() save_distribution_plot()
Save a ggpower plot

Calculator

ggpower_calculator()
Evaluate a ggpower calculator script

App

run_app()
Run the Shiny Application