Learn R Programming

ewoc (version 0.3.0)

response_d1extended: Generating a binary response function based on the EWOC extended model

Description

Generating a binary response function based on the EWOC extended model

Usage

response_d1extended(rho, min_dose, max_dose)

Arguments

rho

a numerical vector indicating the true value of the parameters rho_0 and rho_1.

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

Run this code
# NOT RUN {
response_sim <- response_d1extended(rho = c(0.05, 0.5),
                                   min_dose = 10, max_dose = 50)
response_sim(20)

# }

Run the code above in your browser using DataLab