TY - JOUR AU - Zhang, Zhongheng AU - Gayle, Alberto Alexander AU - Wang, Juan AU - Zhang, Haoyang AU - Cardinal-Fernández, Pablo PY - 2017 TI - Comparing baseline characteristics between groups: an introduction to the CBCgrps package JF - Annals of Translational Medicine; Vol 5, No 24 (December 14, 2017): Annals of Translational Medicine Y2 - 2017 KW - N2 - A usual practice in observational studies is the comparison of baseline characteristics of participants between study groups. The overall population can be grouped by clinical outcome or exposure status. A combined table reporting baseline characteristics is usually displayed, for the overall population and then separately for each group. The last column usually gives the P value for the comparison between study groups. In the conventional research model, the variables for which data are collected are limited in number. It is thus feasible to calculate descriptive data one by one and to manually create the table. The availability of EHR and big data mining techniques makes it possible to explore a far larger number of variables. However, manual tabulation of big data is particularly error prone; it is exceedingly time-consuming to create and revise such tables manually. In this paper, we introduce an R package called CBCgrps, which is designed to automate and streamline the generation of such tables when working with big data. The package contains two functions, twogrps() and multigrps(), which are used for comparisons between two and multiple groups, respectively. UR - https://atm.amegroups.org/article/view/17378