truncate_by_chars: truncate_by_chars

Description Usage Arguments Details

View source: R/truncate_by_chars.R

Description

Background function (not typically user-facing).

Usage

1
truncate_by_chars(text_in, max_char = 80)

Arguments

text_in

Text string to be truncated.

max_char

Maximum number of characters to display (including ellipses). Defaults to 80.

truncate_by_chars

Details

Convenience function for displaying things in human-readable tables. After a given maximum number of characters, cut off the remainder and replace with an ellipsis.


AndrewC160/ROMOPOmics documentation built on Jan. 27, 2021, 6:57 p.m.