Description Usage Arguments Value
Create a data table object from a dataframe with optional aesthetic improvements. Userful for inclusion in .Rmd files being knitted to HTML
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
the_table |
The dataframe to be prettified |
remove_underscores_columns |
Whether to remove underscores in column names and replace them with spaces |
cap_columns |
Whether to capitalize the first letter of the names of columns |
cap_characters |
Whether to capitalize the first letter of elements of character vectors |
comma_numbers |
Whether to include a comma between every three digits of numeric columns |
date_format |
The format for printing date columns |
round_digits |
How many digits to round numberic columns to |
remove_row_names |
Whether to remove row names |
remove_line_breaks |
Whether to remove line breaks from the elements of columns |
nrows |
The number of rows to show |
download_options |
Whether to show options for downloading the table |
A data table ready for inclusion in an .Rmd to be knitted to HTML
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.