简体   繁体   中英

How do I create a forest plot of leave one out analysis on metafor?

I was able to obtain the results of leave one out analysis using the command

leave1out(res,transf = exp)

But how do I construct a forest plot from here?

Thanks

Something like this should get you started:

library(metafor)

dat <- escalc(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg, data=dat <- dat.bcg)

res <- rma(yi, vi, data=dat)
l1o <- leave1out(res)

forest(l1o$estimate, sei=l1o$se, header=TRUE, xlab="Leave One Out Estimate", refline=coef(res))

Adjust the look as needed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM