Get a vector of the binary efficacy outcomes for evaluated patients.
eff(x, ...)
Object of type selector
.
Extra args are passed onwards.
an integer vector
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)
#> [1] 0 0 0 1 0 1 1