response_d1classical: Generating a binary response function based on the EWOC...

Description Usage Arguments Value Examples

View source: R/response.R

Description

Generating a binary response function based on the EWOC classical model

Usage

1
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

1
2
3
response_sim <- response_d1classical(rho = 0.05, mtd = 20, theta = 0.33,
                                  min_dose = 10, max_dose = 50)
response_sim(20)

dnzmarcio/EWOC documentation built on Sept. 28, 2021, 6:52 a.m.