dynamic_table_trunc {tcpl}R 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


[Package tcpl version 3.3.0 Index]