Learn R Programming

chevron (version 0.2.7)

egt05_qtcat_main: EGT05_QTCAT ECG Actual Values and Changes from Baseline by Visit Table.

Description

The EGT05_QTCAT table summarizes several electrocardiogram parameters and their evolution throughout the study.

Usage

egt05_qtcat_main(
  adam_db,
  arm_var = "ACTARM",
  lbl_overall = NULL,
  summaryvars = c("AVALCAT1", "CHGCAT1"),
  row_split_var = NULL,
  visitvar = "AVISIT",
  page_var = NULL,
  ...
)

egt05_qtcat_pre(adam_db, ...)

egt05_qtcat_post(tlg, prune_0 = TRUE, ...)

egt05_qtcat

Value

the main function returns an rtables object.

the preprocessing function returns a list of data.frame.

the postprocessing function returns an rtables object or an ElementaryTable (null report).

Format

An object of class chevron_t of length 1.

Arguments

adam_db

(list of data.frames) object containing the ADaM datasets

arm_var

(string) variable used for column splitting

lbl_overall

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

summaryvars

(character) variables to be analyzed. The label attribute of the corresponding column in adeg table of adam_db is used as name.

row_split_var

(character) additional row split variables.

visitvar

(string) typically "AVISIT" or user-defined visit incorporating "ATPT".

page_var

(string) variable name prior to which the row split is by page.

...

not used.

tlg

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

prune_0

(flag) remove 0 count rows

Functions

  • egt05_qtcat_main(): Main TLG function

  • egt05_qtcat_pre(): Preprocessing

  • egt05_qtcat_post(): Postprocessing

Details

  • The Value at Visit column, displays the categories of the specific "PARAMCD" value for patients.

  • The Change from Baseline column, displays the categories of the specific "PARAMCD" value change from baseline for patients.

  • 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; by chronological time point given by "AVISIT" or user-defined visit incorporating "ATPT". Re-level to customize order.

  • Please note that it is preferable to convert summaryvars to factor.

Examples

Run this code
run(egt05_qtcat, syn_data)

Run the code above in your browser using DataLab