Learn R Programming

sp23design (version 0.9-1)

solveForCGivenABD: A convenience function to reduce dimension by solving for one variable \(c\) in terms of others \(a\), \(b\), \(d\)

Description

A convenience function to reduce dimension by solving for one variable \(c\) in terms of others \(a\), \(b\), \(d\)

Usage

solveForCGivenABD(piVec, a, b, d)

Arguments

piVec

The two-element vector of \((\pi_0, \pi_1)\)

a

The value for \(a\)

b

The value for \(b\)

d

The value for \(d\)

Value

the value for \(c\)

Details

Just solves the equation in closed form

References

Lai, Tze Leung and Lavori, Philip W. and Shih, Mei-Chiung. Sequential Design of Phase II-III Cancer Trials, Statistics in Medicine, Volume 31, issue 18, p.1944-1960, 2012.