Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

num_eff

Total number of efficacies seen.


Description

Get the number of efficacies seen in a dose-finding trial.

Usage

num_eff(x, ...)

Arguments

x

Object of type selector.

...

Extra args are passed onwards.

Value

integer

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')
num_eff(x)

escalation

Modular Approach to Dose Finding Clinical Trials

v0.1.4
GPL (>= 3)
Authors
Kristian Brock [aut, cre] (<https://orcid.org/0000-0002-3921-0166>)
Initial release
2020-10-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.