create_text_table {hgutils}R 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")

[Package hgutils version 0.2.11 Index]