The Tableone package: Effiencent Table 1's for clinical studies

Every randomized study need a Table 1 to summarize the characteristics of the included participants. The tables consist of multiple calculations of means with standard deviation, medians with quartiles or summarizes of categorical variables. This can however be very time consuming to calculate if done by hard. Especially, because you often want to make several subgroups etc. Some years ago I came across the R package tableone, which has now become my preffered tool for creating table 1’s.