Intr_func: Calculates the probability of first outcomes outsdie of grey

Description Usage Arguments Value

View source: R/Intr_func.R

Description

Calculates the probability of first outcomes outsdie of grey

Usage

1
Intr_func(M, R, ORR)

Arguments

M

vector of section sample sizes. If you have an interim at 10, 15 and 20 samples M should be c(10,5,5)

R

matrix of decision points, rows represent interim analysis, first col is No Go, second col is Go

ORR

The assumed true ORR.

Value

Generates a matrix of probabilities representing each possible outcome at interim analysis. The probabiltiy is the probability of reaching that outcome given that all previous interims were between the decision values provided in R.


lylyf1987/GNGpkg documentation built on May 19, 2020, 12:07 a.m.