response_d1classical {ewoc} | R Documentation |
Generating a binary response function based on the EWOC classical model
Description
Generating a binary response function based on the EWOC classical model
Usage
response_d1classical(rho, mtd, theta, min_dose, max_dose)
Arguments
rho |
a numerical value indicating the true value of the parameter rho. |
mtd |
a numerical value indicating the true value of the parameter mtd. |
theta |
a numerical value defining the proportion of expected patients to experience a medically unacceptable, dose-limiting toxicity (DLT) if administered the MTD. |
min_dose |
a numerical value defining the lower bound of the support of the MTD. |
max_dose |
a numerical value defining the upper bound of the support of the MTD. |
Value
A function with dose as an input and a Binomial variable based on the parameters as an output.
Examples
response_sim <- response_d1classical(rho = 0.05, mtd = 20, theta = 0.33,
min_dose = 10, max_dose = 50)
response_sim(20)
[Package ewoc version 0.3.0 Index]