View source: R/rbitr_helpers.R
make_table | R Documentation |
Makes a two-column table that will be justified when rendered with a monospaced font.
make_table(col_a, col_b)
col_a |
A character vector of the rows of column A. |
col_b |
A character vector of the rows of column B. |
A character string will be generated that produces a two-column table when rendered in a monospaced font. The first column will be right- justified, and the second column will be left-justified. Rows will be separated by newline characters ('\n').
A single-element character vector of text that will be a two-column table when rendered with a monospaced font.
cat(make_table(c('1', '2', '11'), c('one', 'two', 'eleven')))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.