The gtsummary package lets you produce summary statistics for your numeric and categorical variables, formatted into a neat table. You can include p-values for pairwise comparisons and also split your summary across the categories of one of your covariates.
Code available from drlyndonwalker.com/easy-summa...
My SkillShare courses: (includes a 1 month free trial)
Getting started with R skl.sh/3cyKwzi
How to Write an Academic Journal Article skl.sh/3hpm3i0
How to read an academic paper skl.sh/3wO9Skp
Introduction to Flipped Classroom Teaching skl.sh/3TBK7jw
Connect with me:
🐥 My Twitter - / drlyndonwalker
💻 My Website - www.drlyndonwalker.com
Join my Facebook Community - / drlyndonwalker
Негізгі бет Easy Summary Tables in R with gtsummary
Пікірлер: 29