Learn R Programming

rtables (version 0.3.8)

clear_indent_mods: Clear All Indent Mods from a Table

Description

Clear All Indent Mods from a Table

Usage

clear_indent_mods(tt)

# S4 method for VTableTree clear_indent_mods(tt)

# S4 method for TableRow clear_indent_mods(tt)

Arguments

tt

TableTree (or related class). A TableTree object representing a populated table.

Value

The same class as tt, with all indent mods set to zero.

Examples

Run this code
# NOT RUN {
t1 <- basic_table() %>%
 summarize_row_groups("STUDYID",label_fstr = "overall summary") %>%
 split_rows_by("AEBODSYS",  child_labels = "visible") %>%
 summarize_row_groups("STUDYID", label = "subgroup summary") %>%
 analyze("AGE", indent_mod = -1L) %>%
 build_table(ex_adae)
t1
clear_indent_mods(t1)
# }

Run the code above in your browser using DataLab