Learn R Programming

escalation (version 0.1.10)

eff: Binary efficacy outcomes.

Description

Get a vector of the binary efficacy outcomes for evaluated patients.

Usage

eff(x, ...)

Value

an integer vector

Arguments

x

Object of type selector.

...

Extra args are passed onwards.

Examples

Run this code
prob_select = c(0.1, 0.3, 0.5, 0.07, 0.03)
model <- get_random_selector(prob_select = prob_select,
                             supports_efficacy = TRUE)
x <- model %>% fit('1NTN 2EN 5BB')
eff(x)

Run the code above in your browser using DataLab