grable | R Documentation |
kable
with a hierarchical headerCreate a knitr::kable
with a multi-layered (graded) header.
grable( data, at, sep = "_", reverse = FALSE, format = c("html", "latex"), caption = NULL, ... )
data |
A |
at |
A vector of quoted/unquoted columns, positions, and/or |
sep |
String to separate the columns. Defaults to "_". |
reverse |
Should the layers be added in the opposite direction? Defaults to |
format |
Format for rendering the table. Must be "html" (default) or "latex". |
caption |
Optional caption for the table |
... |
Arguments to pass to |
A knitr::kable
Alex Zajichek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.