[R-meta] Query on forestplot
Emanuel Schembri
|e||d26 @end|ng |rom gm@||@com
Fri Jul 19 09:02:18 CEST 2024
Hi,
Thank you for the Meta package, which I use a lot.
I am trying to replicate the meta-analysis of single proportions
(Figure 3), which can be found in the paper below:
https://bmcmusculoskeletdisord.biomedcentral.com/articles/10.1186/s12891-021-04322-5
Below are my R version and operating system:
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Below is the data and code:
> dput(E1)
structure(list(author = c("Hemery, 2011", "Joshy, 2007", "Mayr, 2000",
"Nolte, 2001", "Romano, 2006", "Rutten, 2007"), event = c(4,
2, 13, 2, 39, 3), n = c(6, 2, 13, 2, 49, 6)), class = c("tbl_df",
"tbl", "data.frame"), row.names = c(NA, -6L))
meta_analysis <- metaprop(
event = event,
n = n,
studlab = author,
data = data,
sm = "PLOGIT",
method = "GLMM",
fixed = FALSE,
random = TRUE,
method.tau = "ML"
)
forest(meta_analysis)
Questions:
1. How can I add the total number of events in the forest plot? I
also had this issue in a separate meta-analysis and forest plot when
using 1). metabin() and 2). metabin() with subgroups.
2. How can I remove the df = 5 or else make the Heterogeneity
statistics not overlap with the 0.2 in the forest plot?
Thank you
Emanuel
More information about the R-sig-meta-analysis
mailing list