getProbabilities: Function that calculates the cumulative probabilities to...

getProbabilitiesR Documentation

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)

Arguments

theObject

The sequential design object

Value

numeric

Examples

design1<-sequential.design()
probs<-getProbabilities(design1)

seqmon documentation built on May 29, 2024, 9:14 a.m.