Learn R Programming

rlistings (version 0.2.9)

reexports: Objects exported from other packages

Description

These objects are imported from other packages. Follow the links below to see their documentation.

formatters

export_as_txt

Arguments

Examples

Run this code
dat <- ex_adae

lsting <- as_listing(dat[1:25, ], key_cols = c("USUBJID", "AESOC")) %>%
  add_listing_col("AETOXGR") %>%
  add_listing_col("BMRKR1", format = "xx.x") %>%
  add_listing_col("AESER / AREL", fun = function(df) paste(df$AESER, df$AREL, sep = " / "))
main_title(lsting) <- "this is some title"
main_footer(lsting) <- "this is some footer"

cat(export_as_txt(lsting, file = NULL, paginate = TRUE))

Run the code above in your browser using DataLab