# NOT RUN {
Suppose an investigator would like to determine the required sample size to test
kappa0=0.4 vs. kappa1=0.6 with alpha=0.05 and power=0.80 in a study of
interobserver agreement. Further suppose that the prevalence of the categories is
0.30, 0.20, 0.10, 0.30 and 0.10.
# }
# NOT RUN {
Power5Cats(kappa0=0.4, kappa1=0.6, props=c(0.30, 0.20, 0.10, 0.30, 0.10), alpha=0.05, power=0.80);
# }
Run the code above in your browser using DataLab