response_d1ph function

Generating a response function based on the EWOC Proportional Hazards model

Generating a response function based on the EWOC Proportional Hazards model

response_d1ph( rho, mtd, theta, min_dose, max_dose, tau, distribution, shape = NULL )

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.
  • 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".

Returns

A function with dose as an input and a Binomial variable based on the parameters as an output.

Examples

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)
  • Maintainer: Marcio A. Diniz
  • License: GPL (>= 2)
  • Last published: 2020-06-07