ph2single: Exact single stage Phase II design

View source: R/ph2single.R

ph2singleR Documentation

Exact single stage Phase II design

Description

Calculates the exact one stage Phase II design

Usage

ph2single(pu,pa,ep1,ep2,nsoln=5)

Arguments

pu

unacceptable response rate

pa

response rate that is desirable

ep1

threshold for the probability of declaring drug desirable under p0

ep2

threshold for the probability of rejecting the drug under p1

nsoln

number of designs with given alpha and beta

Value

ph2single returns a data frame with variables: n, r, and the Type I and Type II errors. Treatment desirable if >r respenses seen.


clinfun documentation built on Oct. 20, 2023, 1:07 a.m.