LBT01
Lab Results and Change from Baseline by Visit Table.The LBT01
table provides an
overview of the Lab values and its change from baseline of each respective arm
over the course of the trial.
lbt01_main(
adam_db,
dataset = "adlb",
arm_var = "ACTARM",
lbl_overall = NULL,
row_split_var = NULL,
summaryvars = c("AVAL", "CHG"),
visitvar = "AVISIT",
precision = list(default = 2L),
page_var = "PARAMCD",
.stats = c("n", "mean_sd", "median", "range"),
skip = list(CHG = "BASELINE"),
...
)lbt01_pre(adam_db, dataset = "adlb", ...)
lbt01
the main function returns an rtables
object.
the preprocessing function returns a list
of data.frame
.
An object of class chevron_t
of length 1.
(list
of data.frames
) object containing the ADaM
datasets
(string
) the name of a table in the adam_db
object.
(string
) variable used for column splitting
(string
) label used for overall column, if set to NULL
the overall column is omitted
(character
) additional row split variables.
(character
) variables to be analyzed. The label attribute of the corresponding column in
table of adam_db
is used as label.
(string
) typically one of "AVISIT"
or user-defined visit incorporating "ATPT"
.
(named list
of integer
) where names are values found in the PARAMCD
column and the values
indicate the number of digits in statistics. If default
is set, and parameter precision not specified,
the value for default
will be used.
(string
) variable name prior to which the row split is by page.
(character
) statistics names, see tern::analyze_vars()
.
Named (list
) of visit values that need to be inhibited.
additional arguments like .indent_mods
, .labels
.
lbt01_main()
: Main TLG function
lbt01_pre()
: Preprocessing
The Analysis Value
column, displays the number of patients, the mean, standard deviation, median and range of
the analysis value for each visit.
The Change from Baseline
column, displays the number of patient and the mean, standard deviation,
median and range of changes relative to the baseline.
Remove zero-count rows unless overridden with prune_0 = FALSE
.
Split columns by arm, typically ACTARM
.
Does not include a total column by default.
Sorted based on factor level; first by PARAM
labels in alphabetic order then by chronological time point given
by AVISIT
. Re-level to customize order