Calculates the exact one stage Phase II design
- unacceptable response rate
- response rate that is desirable
- threshold for the probability of declaring drug desirable under p0
- threshold for the probability of rejecting the drug under p1
- number of designs with given alpha and beta
ph2single returns a data frame with variables: n, r, and the Type I and Type II errors.
Documentation reproduced from package clinfun, version 1.0.11. License: GPL (>= 2)