Description Usage Arguments Details Value Examples
Creates a kable table for output file.
1 2 3 4 5 |
data |
data.frame or matrix. |
show_numrows |
logical. |
numrows_show |
numeric. Number of rows to show. |
num_digits |
numeric. Number of digits to round to. |
emphasize |
logical for adding bold emaphasis to certain rows. |
col_emphasize |
character. Name of column in data.frame to filter for emphasis. |
val_emphasize |
character/numeric. Value of filter for emphasis. |
format |
character. Direct parameter for |
format.args |
list. Parameters to set directly in |
... |
dots. Optional arguments to pass on to |
A wrapper for knitr::kable()
with custom defaults.
Formatted kable object.
1 2 3 4 5 6 | ## Not run:
if(interactive()){
create_kable_html(mtcars)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.