Skip to content
Prev 353844 / 398506 Next

Metafor and forest(); not showing 'ilab' and text

I cannot reproduce the issue with 'ilab' not being shown when using 'subset'. My guess is that the values for 'ilab.xpos' specified are actually outside of the plotting region. After you have drawn the forest plot, try:

par("usr")[1:2]

to see what the default limits actually are. Then use 'xlim' to adjust the limits to your taste. And then use appropriate values for 'ilab.xpos', so they are inside those limits.
Nothing was enclosed (or it was stripped).
Maybe add some space between groupings (i.e., studies). The example given here can provide some clues how one could go about this: http://www.metafor-project.org/doku.php/plots:forest_plot_with_subgroups But drawing a plot like this requires a lot of hand-tweaking.

Best,
Wolfgang