Created
July 27, 2021 17:07
-
-
Save arimitramaiti/96ab75645ea0881ec2d27cfe15b5612d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Show a table using kableExtra | |
```{r echo=FALSE} | |
library(kableExtra) | |
kable(VADeaths, longtable =T,booktabs =T,caption ="datasets::VADeaths") %>% add_header_above(c(" ","Rural Sample"=2, | |
"Urban Sample"=2)) %>% | |
kable_styling(bootstrap_options = c("striped", "hover", "condensed", "responsive"), font_size = 12) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment