Learn R Programming

VisualizeSimon2Stage (version 0.1.7)

summary_ph2simon: Summarize a Simon's Two-Stage Design

Description

Summarize a Simon's two-stage design

Usage

# S3 method for ph2simon4
summary(object, ...)

# S3 method for ph2simon summary(object, ...)

Value

Function summary.ph2simon() returns a list with three (3) elements

'design'

integer matrix

'EN'

double matrix

'p'

double matrix

Arguments

object

a ph2simon or ph2simon4 object

...

parameters of function ph2simon4(), most importantly type

Examples

Run this code
(x = clinfun::ph2simon(pu = .2, pa = .4, ep1 = .05, ep2 = .1)) 
summary(x)
summary(x, type = c('minimax', 'optimal', 'n1', 'maximax'))

Run the code above in your browser using DataLab