[R-meta] Help for funnel plot

De Simone de@@|mone@be||nd@87 @end|ng |rom gm@||@com
Tue May 17 07:23:25 CEST 2022


 Hi,
Excuse me for these silly questions
how do I get a colour gradient for the background like the one attached.
Colours are a bit limited
Any specific code for the type (solid vs interrupted etc) of the reference
line and pseudo confidence lines. I use "lty", but this do both at the same
time

Here is my argument

dat <- escalc("MD", m1i=Mean_TAP, sd1i= SD_TAP, n1i= N_TAP,
m2i=Mean_caudal, sd2i= SD_caudal, n2i= N_caudal, slab=Study, data=
Duration_of_analgesia)



res <- rma(yi, vi, data=dat, measure="MD", method="DL")


funnel(res, main="Duration of analegsia", back = 12, xlab="Mean difference
(hours)", cex = 1.2,  lwd = 2, lty = "solid", mgp = c(2, 1, 0), font.main =
1, font.lab = 2, font.axis = 2)

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20220517/23620589/attachment-0001.html>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Funnel.pdf
Type: application/pdf
Size: 57649 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20220517/23620589/attachment-0001.pdf>


More information about the R-sig-meta-analysis mailing list