print_table_md | R Documentation |
Print a character matrix as a table.
print_table_md(
x,
col_sep = "",
header_sep = "",
row_begin = "",
row_end = "",
table_before = NA_character_,
table_after = NA_character_,
table_style = c("plain", "md", "latex", "booktabs"),
...
)
x |
A character matrix. |
col_sep |
Column separator. Default to |
header_sep |
Header separator. Default to |
row_begin |
Character at the beginning of each row.
Default to |
row_end |
Character at the ending of each row.
Default to |
table_before |
Characters to be printed before the table. |
table_after |
Characters to be printed after the table. |
table_style |
Name of pre-defined style.
Possible values are |
... |
Additional style control arguments. |
When table_style
is specified, col_sep
, header_sep
, row_begin
and row_end
would not take effects.
Because this function will automatically set their values.
For each possible value of table_style
, its corresponding style settings
are shown in the following table.
plain | md | latex |
|
col_sep | "" | "|" | "&" |
header_sep | "" | "-" | "" |
row_begin | "" | "|" | "" |
row_end | "" | "|" | "\\"
|
In this function, characters are right padded by spaces.
No return.
print.hgwrm()
, summary.hgwrm()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.