3.3 Including Effect Sizes

Effect sizes can be added with effSize = TRUE. If show.tests = TRUE as well, the effStat will also be shown:

rm_compactsum(data=pembrolizumab, xvars=c('age','pdl1','change_ctdna_group'), grp = 'sex', effSize = T, show.tests = T)
Full Sample (n=94) Female (n=58) Male (n=36) p-value Effect Size (95% CI) Missing pTest effStat
age 59.1 (49.5-68.7) 56.6 (45.8-67.8) 61.2 (52.0-69.4) 0.30 0.11 (-0.09, 0.21) 0 Wilcoxon Rank Sum Wilcoxon r
pdl1 0.0 (0.0-10.0) 0.5 (0.0-13.8) 0.0 (0.0-4.5) 0.76 0.03 (-0.16, 0.06) 1 Wilcoxon Rank Sum Wilcoxon r
change ctdna group - Increase from baseline 40 (55%) 21 (52%) 19 (58%) 0.84 0.02 (-0.18, 0.05) 21 ChiSq Cramer’s V