Learn R Programming

rtables (version 0.3.8)

basic_table: Layout with 1 column and zero rows

Description

Every layout must start with a basic table.

Usage

basic_table(
  title = "",
  subtitles = character(),
  main_footer = character(),
  prov_footer = character()
)

Arguments

title

character(1). Main title. Ignored for subtables.

subtitles

character. Subtitles. Ignored for subtables.

main_footer

character. Main global (non-referential) footer materials.

prov_footer

character. Provenance-related global footer materials. Generally should not be modified by hand.

Value

A PreDataTableLayouts object suitable for passing to further layouting functions, and to build_table.

Examples

Run this code
# NOT RUN {
lyt <- basic_table() %>%
  analyze("AGE", afun = mean)

build_table(lyt, DM)

# }

Run the code above in your browser using DataLab