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
Introduction to the gtsummary package and the tbl_summary function, including set-up.
Step-by-step guide on using tbl_summary to create summary tables (starting from basic examples then moving to more detailed customization).
Tips for formatting tables and exporting them for publication.
Context
The
tbl_summary
function in thegtsummary
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 thetbl_summary
function to create publication-ready tables in R.Deliverables
gtsummary
package and thetbl_summary
function, including set-up.tbl_summary
to create summary tables (starting from basic examples then moving to more detailed customization).Sources I came across:
https://www.danieldsjoberg.com/gtsummary/ https://www.danieldsjoberg.com/gtsummary/articles/tbl_summary.html