power_plot: Power Plot

View source: R/power_plot.R

power_plotR Documentation

Power Plot

Description

Create a plot of power as a function of sample size for an upper-tail binomial exact test using simple null and alternative hypotheses, a maximum Type I error rate, and an optional power target.

Usage

power_plot(h_0, h_1, alpha = 0.05, line = 0)

Arguments

h_0

double

h_1

double

alpha

double

line

double

Value

plot

Examples

power_plot(h_0 = 0.5, h_1 = 0.6, alpha = .05, line = 0.80)

fourthz/nplearn documentation built on April 24, 2023, 1:51 a.m.