Similar to a previous question, I am trying to edit the formatting of headings created via David Fisher's admetan and forestplot. I would like all headings of my forestplot to be bold, but currently only one out of five headings displays properly. The problem I experience is visualized below:
Array
The code I used to produce this graph follows the linked question almost verbatim:
Code:
admetan lnseor lnselci lnseuci, study(cohort) by(antibody) nooverall rcol(senneg senpos) nohet effect("OR") saving(graphdata)
use graphdata, clear
* Make headings bold
replace _LABELS = `"{bf:"' + _LABELS + `"}"' if _USE==0
label var senneg `"{bf: n SE/N neg}"'
label var senpos `"{bf: n SE/N pos}"'
label var _EFFECT `"{bf: OR (95% CI)}"'
label var _WT `"{bf: % Weight}"'
label var _LABELS `"{bf:Shared Epitope}"'
* Replace "Subgroup" text with "Total"
replace _LABELS = `"{bf: Total}"' if _USE==3
forestplot, useopts nostats nowt rcols(_EFFECT _WT senneg senpos)I am using admetan/forestplot version 3.2 in Stata SE 14.1.
Any help would be appreciated!
Best,
Emma
0 Response to Bold headings in forestplot appear as {bf:Heading}
Post a Comment