Difference between Two Proportions (z Test)

z2props(
  calculate = "selectpower",
  p1 = 0.4,
  p2 = 0.5,
  margin = 0,
  power = 0.8,
  alpha = 0.05,
  alternative = "not equal",
  arcsin.trans = FALSE,
  kappa = 1,
  n2 = 200
)

Arguments

calculate

.

p1

.

p2

.

margin

.

power

.

alpha

.

alternative

.

arcsin.trans

.

kappa

.

n2

.

Value

A results object containing:

results$text2a preformatted
results$plotan image