Effect size in forest plot using metafor


#1

Hi all,
I just started using the package metafor. I realised that the size of the effect size square in the forest plot does not represent the actual dimension. I have two studies included in the meta-analysis which weighs 49 and 51 each but the representation is very different in dimensions. What is wrong with the code?

forest(res.HPTDND, xlim=c(-13, 6), alim=c(-2,2),  ilab=cbind(format(round(datasetHPTDND$m1i,1)),format(round(datasetHPTDND$sd1i,1)),format(round(datasetHPTDND$n1i,1)),format(round(datasetHPTDND$m2i,1)),format(round(datasetHPTDND$sd2i,1)),format(round(datasetHPTDND$n2i,1)),format(round(weights(res.HPTDND),digits=1))),
       ilab.xpos=c(-8,-7,-6,-4.5,-3.5,-2.5,2.5), cex=1, ylim=c(-2.2,9 ),
       order=order(-datasetHPTDND$Number), rows=c(1:2))

This is the result


#2

Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.