plots:labbe_plot
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plots:labbe_plot [2023/10/22 13:50] – Wolfgang Viechtbauer | plots:labbe_plot [2024/04/18 14:17] (current) – Wolfgang Viechtbauer | ||
---|---|---|---|
Line 3: | Line 3: | ||
==== Description ==== | ==== Description ==== | ||
- | In a L' | + | In a L' |
==== Plot ==== | ==== Plot ==== | ||
Line 15: | Line 15: | ||
### fit random-effects model | ### fit random-effects model | ||
- | res <- rma(ai=tpos, bi=tneg, ci=cpos, di=cneg, data=dat.bcg, measure=" | + | dat <- dat.damico2009 |
+ | res <- rma(measure=" | ||
- | ### draw L' | + | ### set up 2x2 array for plotting |
- | labbe(res, | + | par(mfrow=c(2, |
+ | |||
+ | ### decrease the overall point sizes a bit | ||
+ | par(cex=0.7) | ||
+ | |||
+ | ### default | ||
+ | labbe(res) | ||
+ | |||
+ | ### plot with some customization | ||
+ | labbe(res, | ||
+ | xlab=" | ||
+ | |||
+ | ### plot with odds values on the x- and y-axis and some customization | ||
+ | labbe(res, ci=TRUE, pi=TRUE, grid=TRUE, legend=TRUE, | ||
+ | transf=exp, xlab=" | ||
+ | |||
+ | ### plot with risk values on the x- and y-axis and some customization | ||
+ | labbe(res, ci=TRUE, pi=TRUE, grid=TRUE, legend=TRUE, | ||
+ | transf=plogis, | ||
+ | ylab=" | ||
</ | </ | ||
==== References ==== | ==== References ==== | ||
- | L' | + | L' |
plots/labbe_plot.txt · Last modified: 2024/04/18 14:17 by Wolfgang Viechtbauer