fmt_table1
object where descriptive
statistics are split by a variableadd_overall.Rd
The function assumes the DEFAULT headers are in use. Only modify header rows after Overall column has been added.
add_overall(x, last = FALSE)
x | object with class |
---|---|
last | logical indicator to include overall column last. Default is |
#> #> Variable Overall Drug Placebo #> N = 200 N = 107 N = 93 #> Age, yrs 47 (38, 57) 47 (39, 58) 46 (36, 54) #> Unknown 8 3 5 #> Marker Level, ng/mL 0.68 (0.22, 1.42) 0.61 (0.22, 1.20) 0.72 (0.22, 1.63) #> Unknown 8 4 4 #> T Stage #> T1 51 (26%) 25 (23%) 26 (28%) #> T2 49 (24%) 26 (24%) 23 (25%) #> T3 42 (21%) 29 (27%) 13 (14%) #> T4 58 (29%) 27 (25%) 31 (33%) #> Grade #> I 67 (34%) 38 (36%) 29 (31%) #> II 58 (29%) 34 (32%) 24 (26%) #> III 75 (38%) 35 (33%) 40 (43%) #> Tumor Response 82 (43%) 52 (51%) 30 (33%) #> Unknown 9 6 3