Skip to contents

Assessments Outside Normal Limits Regardless of Abnormality at Baseline Table.

Usage

vst02_1_main(
  adam_db,
  arm_var = "ACTARM",
  lbl_vs_assessment = "Assessment",
  lbl_vs_abnormality = "Abnormality",
  lbl_overall = NULL,
  prune_0 = FALSE,
  deco = std_deco("VST02"),
  ...
)

vst02_1_lyt(arm_var, lbl_vs_assessment, lbl_vs_abnormality, lbl_overall, deco)

vst02_1_pre(adam_db, ...)

vst02_1_post(tlg, prune_0 = FALSE, ...)

vst02_1

Format

An object of class chevron_t of length 1.

Arguments

adam_db

(dm) object containing the ADaM datasets

arm_var

(character) variable used for column splitting

lbl_vs_assessment

(character) the label of the assessment variable.

lbl_vs_abnormality

(character) the label of the abnormality variable.

lbl_overall

(character) label used for overall column, if set to NULL the overall column is omitted

prune_0

(logical) remove 0 count rows

deco

(character) decoration with title, subtitles and main_footer content

...

not used.

tlg

(TableTree, Listing or ggplot) object typically produced by a main function.

Details

  • Only count LOW or HIGH values.

  • Results of "LOW LOW" are treated as the same as "LOW", and "HIGH HIGH" the same as "HIGH".

  • Does not include a total column by default.

  • Does not remove zero-count rows unless overridden with prune_0 = TRUE.

Functions

  • vst02_1_main(): Main TLG function

  • vst02_1_lyt(): Layout

  • vst02_1_pre(): Preprocessing

  • vst02_1_post(): Postprocessing

Note

  • adam_db object must contain an advs table with the "PARAM", "ANRIND" and "BNRIND" columns.

Examples

run(vst02_1, syn_data)
#>   Assessment                   A: Drug X        B: Placebo     C: Combination
#>    Abnormality                  (N=134)          (N=134)          (N=132)    
#>   ———————————————————————————————————————————————————————————————————————————
#>   Diastolic Blood Pressure                                                   
#>     Low                      69/134 (51.5%)   73/134 (54.5%)   67/132 (50.8%)
#>     High                     76/134 (56.7%)    67/134 (50%)    65/132 (49.2%)
#>   Pulse Rate                                                                 
#>     Low                       75/134 (56%)     67/134 (50%)    69/132 (52.3%)
#>     High                      67/134 (50%)    74/134 (55.2%)   53/132 (40.2%)
#>   Respiratory Rate                                                           
#>     Low                      70/134 (52.2%)   72/134 (53.7%)   64/132 (48.5%)
#>     High                      75/134 (56%)    65/134 (48.5%)   71/132 (53.8%)
#>   Systolic Blood Pressure                                                    
#>     Low                       71/134 (53%)    69/134 (51.5%)    70/132 (53%) 
#>     High                     78/134 (58.2%)   62/134 (46.3%)   64/132 (48.5%)
#>   Temperature                                                                
#>     Low                      66/134 (49.3%)   68/134 (50.7%)   81/132 (61.4%)
#>     High                      67/134 (50%)    66/134 (49.3%)   69/132 (52.3%)
#>   Weight                                                                     
#>     Low                      73/134 (54.5%)    71/134 (53%)    76/132 (57.6%)
#>     High                     69/134 (51.5%)   74/134 (55.2%)   74/132 (56.1%)