kable2 | R Documentation |
Wrapper function to quickly knit a table and round numeric values.
kable2(df, digits = 2)
df |
Dataframe you want to knit. |
digits |
Number of decimal places, trailing zeros removed. |
Markdown table
kable2(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.