Description Usage Arguments Value Examples
Returns a data frame in plain text with padded (equal width) columns
1 | plain_text_table(data, sep = " | ", cat_out = TRUE)
|
data |
A data frame to convert to plain text. |
sep |
Characters to bs used as column seperators. |
cat_out |
Whether or not to print the value to standard output. |
If cat_out, nothing, else a string containing the table in plain text form.
1 2 3 4 5 | plain_text_table(head(mtcars))
plain_text_table(head(cars))
plain_text_table(data.frame(a = 1:2, b = 3:4))
plain_text_table(head(mtcars), sep = "+")
plain_text_table(head(mtcars), cat_out = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.