Description Usage Arguments Value Examples
Generating a response function based on the EWOC Proportional Hazards model
1 2 3 4 5 6 7 8 9 10 | response_d1ph(
rho,
mtd,
theta,
min_dose,
max_dose,
tau,
distribution,
shape = NULL
)
|
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. |
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. |
shape |
a numerical value indicating the true value of the parameter shape. It is only necessary if 'distribution' = "weibull". |
A function with dose as an input and a Binomial variable based on the parameters as an output.
1 2 3 4 | response_sim <- response_d1ph(rho = 0.05, mtd = 40, theta = 0.33,
min_dose = 30, max_dose = 50,
tau = 10, distribution = "exponential")
response_sim(40)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.