# NOT RUN {
Suppose a new drug is thought to reduce heart attack mortality from
0.10 to 0.03. Calculate the required number of subjects that must be enrolled
in a study to detect this difference with alpha = 0.05 and power = 0.80.
# }
# NOT RUN {
n4props(0.03, 0.10, AR=1, alpha=0.05, power=0.80);
# }
Run the code above in your browser using DataLab