response_d1extended: 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 extended model

Usage

1
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

1
2
3
response_sim <- response_d1extended(rho = c(0.05, 0.5),
                                   min_dose = 10, max_dose = 50)
response_sim(20)

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