Used internally. See the setup_trial()
function documentation for
additional details on how to specify functions to generate posterior draws.
A matrix
(with numeric values) with length(arms)
columns and
n_draws
rows, with arms
as column names.
character vector, currently active arms
as specified in
setup_trial()
/ setup_trial_binom()
/ setup_trial_norm()
.
character vector, allocations of all patients (including
allocations to currently inactive arms
).
numeric vector, outcomes of all patients in the same order
as alloc
(including outcomes of patients in currently inactive
arms
).
unused argument in the built-in functions for
setup_trial_binom()
and setup_trial_norm, but required as this
argument is supplied by the run_trial()
function, and may be used in
user-defined functions used to generate posterior draws.
single integer, number of posterior draws.