[R-meta] how to make a nicer forest plot
Viechtbauer, Wolfgang (SP)
wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Thu Dec 17 13:52:42 CET 2020
Try adding at=c(-1, 0, 1, 5, 10) or wherever you would like axis marks.
You also might want to play around with the 'efac' argument to decrease the length of the vertical bars at the end of the CIs. This also affects the height of the summary polygon. You could use efac=c(0,1), the first to basically suppress the vertical lines on the CIs while keeping the polygon height unaffected (or change the 1 as deemed fit).
>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces using r-project.org]
>On Behalf Of Valeria Ivaniushina
>Sent: Thursday, 17 December, 2020 13:43
>To: R meta
>Subject: [R-meta] how to make a nicer forest plot
>Dear list members,
>This is my code for a forest plot.
> xlab="Log odds ratio",
> psize=1, header="Publication",
> xlim = c(-2.48, 4.0),
> ylim = c(-1.5,20),
>The plot looks ok, but the range of the X-axis is far too large.
>How can I correct it?
More information about the R-sig-meta-analysis