Learn R Programming

dfped (version 1.1)

kickoffControl: Control for presence of at least toxicities and efficacies for the good run of bCRM model.

Description

An algorithm that control if we have at least one 0 and one 1 for both efficacy and toxicity.

Usage

kickoffControl(tox, currentDose, cohortSize, nbDoses)

Arguments

tox

The vector of toxicity outcomes.

currentDose

The current dose of a patient.

cohortSize

The size of the cohort; must be integer.

nbDoses

The maximum number of the doses.

References

Petit, C., et al, (2016) Unified approach for extrapolation and bridging of adult information in early phase dose-finding paediatric studies, Statistical Methods in Medical Research, <doi:10.1177/0962280216671348>.

Examples

Run this code
# NOT RUN {
	tox <- c(0.1301477, 0.2774171, 0.4184642, 0.6486846, 0.8257219)
	currentDose <- 3
	cohortSize <- 1
	nbDoses <- 5 
	kickoffControl(tox, currentDose, cohortSize, nbDoses)
# }

Run the code above in your browser using DataLab