create_text_table: Creates a text table

create_text_tableR Documentation

Creates a text table

Description

Creates a text table

Usage

create_text_table(string, table_width = 80, compact = TRUE)

Arguments

string

character vector of strings to reformat.

table_width

table character width.

compact

whether to take only the necessary space (TRUE) or to fill out the table_width (FALSE).

Value

A vector of strings per row, forming together a table.

See Also

get_square_grid.

Examples

cat(create_text_table(LETTERS),sep = "\n")

hgutils documentation built on March 31, 2022, 5:06 p.m.