setupSub1Design: Creates a "sub1"-object.

Description Usage Arguments Examples

View source: R/zzz.R

Description

Creates a "sub1"-object which can be used in the function getSolutionsSub1 to identify possible designs.

Usage

1
2
setupSub1Design(alpha = 0.1, beta = 0.1, pc0 = 0.6, pt0 = 0.7,
  pc1 = 0.8, pt1 = 0.9)

Arguments

alpha

the maximal type I error rate.

beta

the maximal type II error rate.

pc0

the response probability for the subset endpoint under the null hypothesis.

pt0

the response probability for the superset endpoint under the null hypothesis.

pc1

the response probability for the subset endpoint under the alternative hypothesis.

pt1

the response probability for the superset endpoint under the alternative hypothesis.

Examples

1
2
3
4
5
#Create "sub1"-object.
sub1 <- setupSub1Design()
#Calculate designs for the given "sub1"-object.
designs <- getSolutionsSub1(sub1)$Solutions
designs

OneArmPhaseTwoStudy documentation built on May 2, 2019, 9:28 a.m.