split_kable | R Documentation |
Splits a table into a n_tb
parts of similar sizing using standard styling in my_kable()
. This is
used when I want to split a long thin table across multiple columns to reduce a document's size. Returns
a single table part. Which part given by argument index
.
split_kable(df, index, n_tb = 2, digits = 3)
df |
A data frame. |
index |
Which part of the split table to return. |
n_tb |
The number of parts to split the table into. |
digits |
Sets the number of digits (via the |
Printing all table parts in one function call didn't work since I couldn't get
kable()
to print from within a function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.