extract_statuses | R Documentation |
Used internally. Extracts overall trial statuses or statuses from a single
arm
from multiple trial simulations. Works with sparse results.
extract_statuses(object, x_value, arm = NULL)
object |
|
x_value |
single character string, determining whether the number of
adaptive analysis looks ( |
arm |
character vector containing one or more unique, valid |
A tidy data.frame
(one row possible status per look) containing the
following columns:
x
: the look numbers or total number of patients at each look,
as specified in x_value
.
status
: each possible status ("Recruiting"
, "Inferiority"
(only relevant for individual arms), "Futility"
, "Equivalence"
, and
"Superiority"
, as relevant).
p
: the proportion (0-1
) of patients with each status
at each
value of x
.
value
: as described under metric
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.