Learn R Programming

ordinalsimr (version 0.2.1)

plot_power: Plot Test Power

Description

Plot Test Power

Usage

plot_power(df, power_threshold = 0.8, ci_band = TRUE)

Value

ggplot object

Arguments

df

a dataframe with p-values and a sample_size column

power_threshold

numeric. desired power threshold

ci_band

logical. whether to include a confidence interval band around the power estimate