plots:plot_of_cumulative_results
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
plots:plot_of_cumulative_results [2017/04/23 14:38] – external edit 127.0.0.1 | plots:plot_of_cumulative_results [2021/03/29 19:51] – Wolfgang Viechtbauer | ||
---|---|---|---|
Line 13: | Line 13: | ||
<code rsplus> | <code rsplus> | ||
library(metafor) | library(metafor) | ||
- | |||
- | ### decrease margins so the more space is used | ||
- | par(mar=c(5, | ||
### calculate (log) risk ratios and corresponding sampling variances | ### calculate (log) risk ratios and corresponding sampling variances | ||
Line 24: | Line 21: | ||
### cumulative meta-analysis (in the order of publication year) | ### cumulative meta-analysis (in the order of publication year) | ||
- | tmp <- cumul(res, order=order(dat$year)) | + | tmp <- cumul(res, order=dat$year) |
### plot of cumulative results | ### plot of cumulative results |
plots/plot_of_cumulative_results.txt · Last modified: 2022/04/22 11:42 by Wolfgang Viechtbauer