pFstop: Operating characteristics of a single-arm trial with a binary...

Description Usage Arguments Examples

View source: R/pFstop.R

Description

Determines the operating characteristics of a single-arm trial with a binary endpoint (success - failure) on the basis of analytical derivations. The design allows for futility stopping. Outputs are

Usage

1
pFstop(p, vn.int, v.crit)

Arguments

p

true response rate

vn.int

vector of sample sizes at the interim analyses

v.crit

vector of critical boundaries for futility stopping at the interim analyses (stop for futility if number of successes <= boundary). Choose boundary=-1 if no stopping is allowed.

Examples

1
pFstop(p=0.3,vn.int=c(3,9,13,18,20),v.crit=c(0,1,2,3,3))

wiesenfa/BDP2 documentation built on April 11, 2021, 8:06 p.m.