I've been learning how to format tables via the command collect.
I've got a general grasp of how to use it, but I haven't been able to successfully edit borders.
I tried different alternative commands to have a double border at the top and bottom of the table and below column headers, but they all seem to be doing nothing at all.
Here's what I got so far.
I've got a general grasp of how to use it, but I haven't been able to successfully edit borders.
I tried different alternative commands to have a double border at the top and bottom of the table and below column headers, but they all seem to be doing nothing at all.
Here's what I got so far.
Code:
use https://www.stata-press.com/data/r17/lifeexp collect: reg lexp safewater collect: reg lexp gnppc collect get checkmark="YES", tag(cmdset[1]) collect get checkmark="NO", tag(cmdset[2]) collect layout (colname#result[_r_b _r_se] result[checkmark]) (cmdset) collect style cell border_block[corner row-header], border(right, pattern(nil)) collect style cell result[checkmark], border(top, pattern(single))
Comment