solveForCGivenABD: A convenience function to reduce dimension by solving for one...

View source: R/sp23design.R

solveForCGivenABDR 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 (π_0, π_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.


sp23design documentation built on April 19, 2022, 5:08 p.m.