N.cohen.kappa: Sample Size Calculation for Cohen's Kappa Statistic
Description
This function is a sample size estimator for the Cohen's Kappa
statistic for a binary outcome.
Note that any value of "kappa under null" in the interval [0,1] is
acceptable (i.e. k0=0 is a valid null hypothesis).
# NOT RUN {# Testing H0: kappa = 0.7 vs. HA: kappa > 0.7 given that# kappa = 0.85 and both raters classify 50% of subjects as positive. N.cohen.kappa(0.5, 0.5, 0.7, 0.85)
# }