Created
February 15, 2021 02:34
-
-
Save ddsjoberg/a407cacc411ceb9bdfc33cfc693b743d 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
# ANALYSIS Rmd FILE | |
```{r} | |
# create a gtsummary table | |
tbl <- trial %>% tbl_summary() | |
# save it to file | |
saveRDS(tbl, file = "my_tbl_summary1.Rds") | |
``` | |
# REPORT Rmd FILE | |
```{r, echo = FALSE} | |
# load saved gtsummary table | |
tbl <- readRDS(file = "my_tbl_summary1.Rds") | |
# print table | |
tbl | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment