tilburgsciencehub / website

Learn to work more efficiently on empirical research projects.
https://tilburgsciencehub.com
38 stars 46 forks source link

Tutorial: creating tables ready for publication using tbl_summary function R #1150

Open VirginiaMirabile opened 2 months ago

VirginiaMirabile commented 2 months ago

Context

The tbl_summary function in the gtsummary package in R is a powerful tool for creating summary tables that are both informative and publication-ready. I came across this function when writing my proposal. However, many users may not be familiar with how to utilize this function effectively to produce high-quality tables. This tutorial aims to provide a step-by-step guide on using the tbl_summary function to create publication-ready tables in R.

Deliverables

  1. Introduction to the gtsummary package and the tbl_summary function, including set-up.
  2. Step-by-step guide on using tbl_summary to create summary tables (starting from basic examples then moving to more detailed customization).
  3. Tips for formatting tables and exporting them for publication.
  4. Conclusion summarizing key takeaways.

Sources I came across:

https://www.danieldsjoberg.com/gtsummary/ https://www.danieldsjoberg.com/gtsummary/articles/tbl_summary.html