Description Usage Arguments Value Examples
View source: R/beautifytable.R
This function beautifies tables for Rmarkdown pdf outputs
1 | beautifytable(.data, caption, size = 7, width = "3in")
|
.data |
The dataframe or table which is being beautified |
caption |
The caption for the table |
size |
The font size. Default size is 7. |
width |
The width of the first column of the table. Default size is 3 inches. |
Output in Rmarkdown following pdf knit
1 2 3 4 | irisflowers <- iris %>%
group_by(Species) %>%
summarise(n = n())
beautifytable(irisflowers, "Flower Count")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.