| show_table | R Documentation |
Show table
show_table(
x,
spacing = 2L,
pad = 2L,
formatter = highlight,
output_type = NULL
)
x |
table. |
spacing |
Integer: Number of spaces between columns. |
pad |
Integer: Pad output with this many spaces. |
formatter |
Function: Formatting function applied to table values. |
output_type |
Character ("ansi", "html", "plain") or NULL: Output type. If NULL, resolved
via |
Character: formatted string.
EDG
tbl <- table(
Predicted = c("a", "b", "a", "b", "a"),
Reference = c("a", "a", "b", "b", "a")
)
cat(show_table(tbl))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.