extract_history {adaptr} | R Documentation |
Extract history
Description
Used internally. Extracts relevant parameters at each conducted adaptive analysis from a single trial.
Usage
extract_history(object, metric = "prob")
Arguments
object |
single |
metric |
either |
Value
A tidy data.frame
(one row per arm per look) containing the following
columns:
-
look
: consecutive numbers (integers) of each interim look. -
look_ns
: total number of patients (integers) with outcome data available at current adaptive analysis look to all arms in the trial. -
look_ns_all
: total number of patients (integers) randomised at current adaptive analysis look to all arms in the trial. -
arm
: the currentarm
in the trial. -
value
: as described undermetric
.