Learn R Programming

seqmon (version 2.5)

getProbabilities: Function that calculates the cumulative probabilities to declare efficacy and futility

Description

Calculates the cumulative probabilities to declare efficacy and futility under the null hypothesis and the alternative hypothesis. It also returns the p-values for declaring efficacy and futility.

Usage

getProbabilities(theObject)

Value

numeric

Arguments

theObject

The sequential design object

Examples

Run this code
design1<-sequential.design()
probs<-getProbabilities(design1)

Run the code above in your browser using DataLab