[R-meta] metafor forest 'ylim()': 1.row distances change, 2 .relative lines?
P. Roberto Bakker
robertob@kker @ending from gm@il@com
Sun Sep 23 12:01:14 CEST 2018
When I change 'ylim()', two things happen that I do not understand:
1) The study row distances change:
- e.g. When I change from 'ylim=c(-1, 23)' into 'ylim=c(-1, 10)', then
'y=c(-1, 5)', etc
-> the study row distances increase at every step
This whould not be a problem if I had only one forest plot - but I have
several forest plots - so between forestplots the study row distances are
'rows=c()' could be a solution, however, the study row distances between
forestplots still may differ.
2. The position of both horizontal lines change when I change one.
e.g. at every step shown aboven the lower line changes position - the
summary polygon may even disappear
All in all, I seems to me that 'ylim()' zooms in/out at every change.
In short: when I change one thing 'all other things change'.
I hope I am clear.
forest(res, slab = paste(datsub$npd, datsub$tn, sep = ", "),
cex =0.45, cex.lab=0.8, cex.main=0.8, main="MAOI vs placebo - REML
showweights = TRUE, order=order(datsub$name),
On my laptop: surface pro 4 64b
R version 3.5.0 (2018-04-23) -- "Joy in Playing"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
[[alternative HTML version deleted]]
More information about the R-sig-meta-analysis