# NOT RUN {
## An example using the DBM method
SsSampleSizeKGivenJ(dataset02, J = 6, method = "DBMH")
## An example using the OR method
SsSampleSizeKGivenJ(dataset02, J = 6, method = "ORH")
# }
# NOT RUN {
for (J in 6:10) {
ret <- SsSampleSizeKGivenJ(dataset02, J = J, option = "RRRC")
message("# of readers = ", J, " estimated # of cases = ", ret$K, ", predicted power = ",
signif(ret$powerRRRC,3), "\n")
}
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab