Learn R Programming

GroupSeq (version 1.0)

asPocock: approximates Pocock-type

Description

This alpha spending function approximates alpha-function Pocock-type

Usage

asPocock(alpha, tk, OneOrTwoSidedBounds)

Arguments

alpha
is the desired overall size.
tk
is current point of time
OneOrTwoSidedBounds
One-('OneOrTwoSidedBounds'==1) or Two-sided bounds('OneOrTwoSidedBounds'==2) are used

Value

  • see description

See Also

groupseq, alphaByUseFunction, asPowerFamily asHSdeCani, asOBF

Examples

Run this code
##simple example with result: [1] 0.09086198
asPocock(0.05,3,1)

Run the code above in your browser using DataLab