Introduction:

When comparing two proportions, the following functions are used:

pwr.2p.test(h = , n = , sig.level =, power = )

For unequal n's use

pwr.2p2n.test(h = , n1 = , n2 = , sig.level = , power = )