solveForCGivenABD {sp23design}R Documentation

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

Details

Just solves the equation in closed form

Value

the value for c

Author(s)

Mei-Chiung Shih, Balasubramanian Narasimhan, Pei He

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.


[Package sp23design version 0.9-1 Index]