AssignEffToxUT: Determines the optimal dose to assign the next patient...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

This function returns the optimal acceptable dose number to assign the next patient cohort or stops the trial if no dose is deemed acceptable.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
AssignEffToxUT(
  YE,
  YT,
  Doses,
  Dose,
  DosesTried,
  Hypermeans,
  Hypervars,
  UT,
  PiLim,
  ProbLim,
  B
)

Arguments

YE

Vector containing observed efficacy indicators.

YT

Vector containing observed toxicity indicators.

Doses

Vector containing numbered Doses of patients in trial.

Dose

Vector containing the standardized doses considered.

DosesTried

Binary vector corresponding to which doses have been tried.

Hypermeans

Vector containing prior hypermeans of length 6 for Eff-Tox parameters.

Hypervars

Vector containing prior hypervariances of length 6 for Eff-Tox parameters.

UT

2x2 utility matrix.

PiLim

Vector of length two with PiLim[1] containing the acceptable lower limit on efficacy probability and PiLim[2] containing the acceptable upper limit on toxicity probability.

ProbLim

Vector of length two with ProbLim[1] containing the probability cutoff for acceptable efficacy probability and ProbLim[2] containing the probability cutoff for acceptable toxicity probability.

B

Number of iterations to perform in the MCMC.

Value

The optimal dose level to administer the next patient cohort.


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