OC.rule | R Documentation |
A wrapper function to compute operating characteristics for a stopping rule at a set of toxicity rates.
OC.rule(data.type, ...)
data.type |
Type of data, choices include 'bin' for binary data and 'surv' for time-to-event data |
... |
Other options to be passed to the corresponding operating characteristics calculation. Please refer to the corresponding |
Please refer to the corresponding data type-specific OC.rule()
function for more details
## Not run: bb_rule = calc.rule(data.type="bin",ns=1:50,p0=0.20,alpha=0.10,type="BB",param=c(2,8))
gp_rule = calc.rule(data.type="surv",n=50,p0=0.20,alpha=0.10,type="GP",tau=60,param=c(1,1000))
OC.rule(data.type="bin",rule=bb_rule,ps=seq(0.1, 0.5, 0.1))
OC.rule(data.type="bin",rule=bb_rule,ps=seq(0.1, 0.5, 0.1),tau=60,A=730)
OC.rule(data.type="surv",rule=gp_rule,ps=seq(0.1, 0.5, 0.1),MC=1000, A=730)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.