setupSimon {OneArmPhaseTwoStudy}R Documentation

Creates a "simon"-object.

Description

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

Usage

setupSimon(alpha = 0.05, beta = 0.05, p0 = 0.1, p1 = 0.3)

Arguments

alpha

the maximal type I error rate.

beta

the maximal type II error rate.

p0

the response probability under the null hypothesis.

p1

the response probability under the alternative hypothesis.

Examples

#Create a "simon"-object
simon <- setupSimon()
#Calculate designs for the given "simon"-object.
designs <- getSolutions(simon)$Solutions
designs

[Package OneArmPhaseTwoStudy version 1.0.3 Index]