Description Usage Arguments See Also
Function to adapt kable function from knitr package to meet most of my table-making needs. This intentionally removes the table environment, so the tables do not float. Unfortunately, that means it's hit or miss on whether the caption stays near the table. This function is ugly
1 2 |
booktabs |
Whether booktabs style should be used. Defaults to TRUE. |
escape |
Whether special LaTeX characters should be escaped. The default in kable right now is to escape these characters, but for some reason, escape never works quite like I want it to. Defaults to FALSE. |
format |
Type of table to be made. Defaults to "latex". |
caption |
Caption for the table. Defaults to NULL (no caption). |
... |
Other parameters passed to kable |
kable.obj |
Object (matrix or data frame) passed in to be kabled |
kable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.