Skip to content

Commit

Permalink
Create demographics-table.md
Browse files Browse the repository at this point in the history
@ARPeters , can you complete this with your example?

ref #38
  • Loading branch information
wibeasley committed Oct 16, 2023
1 parent dc89802 commit 0151e43
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions snippets/demographics-table.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Different Approaches for Creating Demographics Tables
=======================

`gtsummary::tbl_summary()`
--------------------------------

* Purpose: Create a table with three variables (gender, race, & ethnicity) for manuscript
* Logic: Leverage the capabilities build into [`gtsummary::tbl_summary()`](https://www.danieldsjoberg.com/gtsummary/articles/tbl_summary.html)
* Last reviewed date: 2023-10-16 by Andrew Peters
* Example projects:
* [bergner-human-milk-3, analysis-3.Rmd](https://github.com/OuhscBbmc/bergner-human-milk-3/tree/main/analysis/analysis-3)

Code:

```r
bla bla
```

0 comments on commit 0151e43

Please sign in to comment.