Description Usage Arguments Value Examples
This function gives the interim decision for multi-outcome, two-stage drop-the-loser designs that declare trial success when a specified number of outcomes show promise.
1 | interimDecision(findDTL.output, test.statistics, return.lookup = FALSE)
|
findDTL.output |
The output from a call to findDTL. |
test.statistics |
A vector of observed interim test statistics |
return.lookup |
Logical. Will return a lookup table if TRUE. Default is FALSE. |
Returns a list containing at least two elements. The first element, decision, is a statement regarding whether the trial should proceed, and if so, what outcomes should be retained for the second stage. The second element, cp, is a vector of the conditional power values for each outcome. If return.lookup==TRUE, the function will return a third list element, lookup, which is a lookup table containing the test statistics for each outcome that correspond to a range of CP values.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.