rho: a numerical value indicating the true value of the parameter rho.
mtd: a numerical value indicating the true value of the parameter mtd.
shape: a numerical value indicating the true value of the parameter shape. It is only necessary if 'distribution' = "weibull".
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.
tau: a numerical value defining the period of time for a possible toxicity be observed.
distribution: a character establishing the distribution for the time of events. It can be defined as 'exponential' or 'weibull'.
Returns
A function with dose as an input and a probability based on the logistic regression and parameters as an output.
Examples
pdlt <- pdlt_d1ph(rho =0.05, mtd =40, theta =0.33, min_dose =30, max_dose =50, tau =10, distribution ="exponential")pdlt(40)