mygt | R Documentation |
Formatting includes:
Text align to top/left
Smaller row padding
No top border
Bold column labels
mygt(df, md = NULL, indent = NULL, remove_border = TRUE)
df |
Data frame/tibble |
md |
Optional. If not |
indent |
Ignored. |
remove_border |
Optional. For indented lines, remove the upper
horizontal border line? Defaults to |
Formatted gt table
data(mtcars)
mtcars %>%
dplyr::slice(1:5) %>%
mygt()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.