LRtox: Calculates likelihood of safety for single dose

Description Usage Arguments Value Examples

View source: R/LRtox.R

Description

Function LRtox() calculates the likelihood of safety for a single dose and designates whether to escalate to the next dose (safe) or stop dose escalation and move onto stage 2 (unsafe).

Usage

1
LRtox(coh.size, ndlt, p1, p2, K = 2)

Arguments

coh.size

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

ndlt

number of observed DLTs

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)

Value

List object that gives the likelihood ratio of safety and indicates whether to escalate to the next highest dose level, or stop dose escalation and move onto stage 2.

Examples

1
2
LRtox(coh.size = 3, ndlt = 2, p1 = 0.40, p2 = 0.15, K = 2)
LRtox(coh.size = 3, ndlt = 1, p1 = 0.40, p2 = 0.15, K = 2)

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