Learn R Programming

gtreg (version 0.4.1)

inline_text_tbl_ae: Report Values from gtreg tables in-line

Description

Function allows users to report formatted and styled results from gtreg tables in-line.

Usage

# S3 method for tbl_ae
inline_text(x, row, column = NULL, ...)

# S3 method for tbl_ae_count inline_text(x, row, column = NULL, ...)

# S3 method for tbl_ae_focus inline_text(x, row, column = NULL, ...)

Value

string

Arguments

x

an object of class tbl_ae(), tbl_ae_count(), tbl_ae_focus()

row

string indicating the AE or SOC to report

column

column name of cell to report. Use show_header_names(x) to print all column names beside the current header.

...

not used

Examples

Run this code
# \donttest{
tbl <-
  df_adverse_events %>%
  tbl_ae(
    id = patient_id,
    ae = adverse_event,
    soc = system_organ_class,
    by = grade
  )
show_header_names(tbl)

inline_text(tbl, "Anaemia", column = stat_5)
# }

Run the code above in your browser using DataLab