vst01_main | R Documentation |
VST01
Vital Sign Results and change from Baseline By Visit Table.The VST01
table provides an
overview of the Vital Sign values and its change from baseline of each respective arm
over the course of the trial.
vst01_main(
adam_db,
dataset = "advs",
arm_var = "ACTARM",
lbl_overall = NULL,
row_split_var = NULL,
summaryvars = c("AVAL", "CHG"),
visitvar = "AVISIT",
precision = list(DIABP = 0, PUL = 0, SYSBP = 0, default = 2L),
page_var = "PARAMCD",
.stats = c("n", "mean_sd", "median", "range"),
skip = list(CHG = "BASELINE"),
...
)
vst01_pre(adam_db, dataset = "advs", ...)
vst01
adam_db |
( |
dataset |
( |
arm_var |
( |
lbl_overall |
( |
row_split_var |
( |
summaryvars |
( |
visitvar |
( |
precision |
(named |
page_var |
( |
.stats |
( |
skip |
Named ( |
... |
additional arguments like |
An object of class chevron_t
of length 1.
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
the main function returns an rtables
object.
the preprocessing function returns a list
of data.frame
.
vst01_main()
: Main TLG function
vst01_pre()
: Preprocessing
adam_db
object must contain table named as dataset
with the columns specified in summaryvars
.
library(dunlin)
proc_data <- log_filter(
syn_data,
PARAMCD %in% c("DIABP", "SYSBP"), "advs"
)
run(vst01, proc_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.