
Doses given to patients.
Source:R/boin_comb_selector.R, R/interface.R, R/simulations.R
doses_given.RdGet a vector of the dose-levels that have been administered to patients.
Usage
# S3 method for class 'boin_comb_selector'
doses_given(x, dose_string = FALSE, ...)
doses_given(x, ...)
# S3 method for class 'simulations'
doses_given(x, dose_string = FALSE, ...)Arguments
- x
Object of type
selector.- dose_string
TRUE to return vector of character dose-strings; FALSE (the default) to get a list of matrices, one for each simulated trial, with the dose-indices of the different treatments in columns and patients in rows.
- ...
Extra args are passed onwards.