safe.dose: Identify safe/acceptable doses from stage 1 based on observed...

Description Usage Arguments Value Examples

View source: R/safe.dose.R

Description

Function safe.dose() distinguishes acceptable from unacceptable doses

Usage

1
safe.dose(dose, dose.tox, p1, p2, K, coh.size)

Arguments

dose

number of doses to be tested (scalar)

dose.tox

vector of true toxicities for each dose. Values range from 0 - 1.

p1

toxicity under null (unsafe DLT rate). Values range from 0 - 1.

p2

toxicity under alternative (safe DLT rate). Values range from 0 - 1; p1 > p2

K

threshold for LR. Takes integer values: 1,2,...(recommended K=2)

coh.size

cohort size (number of patients) per dose (Stage 1)

Value

List of the following objects:

Examples

1
2
3
4
5
6
7
8
dose = 5                                      # Dose levels
dose.tox <- c(0.05, 0.10, 0.15, 0.20, 0.30)   # True toxicity per dose
p1 = 0.40                                     # Unacceptable DLT rate
p2 = 0.15                                     # Acceptable DLT rate
K = 2                                         # Likelihood-ratio (LR) threshold
coh.size = 3                                  # Assign 3 pts per dose in stage 1

safe.dose(dose = dose, dose.tox = dose.tox, p1 = p1, p2 = p2, K = K, coh.size = coh.size) 

iAdapt documentation built on Aug. 6, 2021, 9:08 a.m.