get_Keyboard_rules: Get Keyboard decision rules for phase I design

View source: R/get_Keyboard_rules.R

get_Keyboard_rulesR Documentation

Get Keyboard decision rules for phase I design

Description

Get Keyboard decision rules for phase I design

Usage

get_Keyboard_rules(N, phi, halfkey)

Arguments

N

sample size

phi

target toxicity rate

halfkey

half length of key in keyboard design

Details

A uniform Beta(1,1) prior is used to calculate the posterior Bayesian probability for each 'key'

Value

a data.frame with elements

  • n: number of patients

  • x: observed DLTs

  • decision: "E" (escalate),"R" (retain) or "D" (de-escalate)

References

Yan F, Mandrekar SJ, Yuan Y. Keyboard: A Novel Bayesian Toxicity Probability Interval Design for Phase I Clinical Trials. Clin Cancer Res. 2017; 23: 3994–4003

Examples

Keyboard_rules <- get_Keyboard_rules(N=9,phi=0.3,halfkey=0.05)

IDDI-BE/PhIdesign documentation built on Feb. 7, 2024, 9:32 p.m.