dynamic_table_trunc: dynamic_table_trunc Dynamically truncate lengths of column...

View source: R/tcplggplot2Utils.R

dynamic_table_truncR Documentation

dynamic_table_trunc Dynamically truncate lengths of column values of they are longer than a calculated width. Strings contained in verbose table output can be very long, and this function ensures that the 128 character row limit is kept while growing/shrinking default columns widths that may or may not need the space.

Description

dynamic_table_trunc Dynamically truncate lengths of column values of they are longer than a calculated width. Strings contained in verbose table output can be very long, and this function ensures that the 128 character row limit is kept while growing/shrinking default columns widths that may or may not need the space.

Usage

dynamic_table_trunc(tbl = NULL, all_cols)

Arguments

tbl

data.table with potential long values to truncate

all_cols

every annotation column to assign lengths

Value

altered data table with truncated strings


tcpl documentation built on June 8, 2025, 11:41 a.m.