Hello everyone,
I need your help. I am using the asdoc command to create a word report.
I am trying to create a table that looks like this:
Any hypoglycemia up to 36h | Birth mode | Gestational age at birth | ||||||||||||
Vaginal | C-section | Total | 34-<35 weeks | 35- <36 weeks | 36 - <37 weeks | >=37 weeks | Total | |||||||
No | 24 | 81 | 105 | 18 | 28 | 54 | 5 | 105 | ||||||
22.86 | 77.14 | 100.00 | 17.14 | 26.67 | 51.43 | 4.76 | 100.00 | |||||||
53.33 | 50.00 | 50.72 | 47.37 | 43.08 | 56.84 | 55.56 | 50.72 | |||||||
Yes | 21 | 81 | 102 | 20 | 37 | 41 | 4 | 102 | ||||||
20.59 | 79.41 | 100.00 | 19.61 | 36.27 | 40.20 | 3.92 | 100.00 | |||||||
46.67 | 50.00 | 49.28 | 52.63 | 56.92 | 43.16 | 44.44 | 49.28 | |||||||
Total | 45 | 162 | 207 | 38 | 65 | 95 | 9 | 207 | ||||||
21.74 | 78.26 | 100.00 | 18.36 | 31.40 | 45.89 | 4.35 | 100.00 | |||||||
100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | |||||||
PHP Code:
asdoc tabulate hypoglycemia_any del_mod, row col append nocf title(Any hypoglycemia between birth and 36h by delivery mode) fhc(\b)
asdoc tabulate hypoglycemia_any ga_birth, row col append nocf title(Any hypoglycemia between birth and 36h by gestational age at birth) fhc(\b)
Is there a way to combine as shown before?
Thank you very much