wrap_text_table | R Documentation |
Wrap string table
wrap_text_table(string, exdent, min_size = 9, table_width = 80 - exdent)
string |
character vector of strings to reformat. |
exdent |
non-negative integer giving indentation of following lines in each paragraph |
min_size |
minimal size where a table is constructed, otherwise elements are concatenated with ', '. |
table_width |
table character width. |
A character vector of a wrapped table where rows are separated by the newline character.
str_wrap
, get_square_grid
.
cat(wrap_text_table(LETTERS, exdent=0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.