eff: Binary efficacy outcomes.

View source: R/interface.R

effR Documentation

Binary efficacy outcomes.

Description

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

Usage

eff(x, ...)

Arguments

x

Object of type selector.

...

Extra args are passed onwards.

Value

an integer vector

Examples

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)

escalation documentation built on May 31, 2023, 6:32 p.m.