View source: R/extract_results.R
extract_results_batch | R Documentation |
Used internally by extract_results()
. Extracts results from a batch of
simulations from a simulation object with multiple simulation results
returned by run_trials()
, used to facilitate parallelisation.
extract_results_batch(
trial_results,
control = control,
select_strategy = select_strategy,
select_last_arm = select_last_arm,
select_preferences = select_preferences,
te_comp = te_comp,
which_ests = which_ests,
te_comp_index = te_comp_index,
te_comp_true_y = te_comp_true_y
)
trial_results |
list of trial results to summarise, the current batch. |
control |
single character string, the common |
select_strategy |
single character string. If a trial was not stopped
due to superiority (or had only 1 arm remaining, if
|
select_last_arm |
single logical, defaults to |
select_preferences |
character vector specifying a number of arms used
for selection if one of the |
te_comp |
character string, treatment-effect comparator. Can be either
|
which_ests |
single character string, a combination of the |
te_comp_index |
single integer, index of the treatment effect comparator
arm ( |
te_comp_true_y |
single numeric value, true |
A data.frame
containing all columns returned by extract_results()
and described in that function (sim
will start from 1
, but this is
changed where relevant by extract_results()
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.