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"),
...
)No return.
A character matrix.
Column separator. Default to "".
Header separator. Default to "-".
If header_sep only contains one character,
it will be repeated for each column.
If it contains more than one character,
it will be printed below the first row.
Character at the beginning of each row.
Default to col_sep.
Character at the ending of each row.
Default to col_sep.
Characters to be printed before the table.
Characters to be printed after the table.
Name of pre-defined style.
Possible values are "plain", "md", "latex", or "booktabs".
Default to "plain".
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.
print.hgwrm(), summary.hgwrm().