ReturnOpt: Obtains optimal dose level.

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Gives the optimal dose level to assign the next patient cohort to based on the vector of optimality function values for each dose level (desirability or utility based) and the doses tried throughout the trial.

Usage

1
ReturnOpt(Desire, DoseTried)

Arguments

Desire

Vector of optimality function values for each dose level.

DoseTried

Binary vector containing 1 for doses that have been tried during the trial and 0 otherwise.

Value

Optimal dose level to assign the next patient cohort.


Phase12Compare documentation built on July 31, 2020, 5:07 p.m.