remove meta analysis from forest plot

855 Views Asked by At

I'm using the meta R package to create a forest plot:

library(meta)    
m1 <- metacont(10 + 1:4, 1:4, c(1:2, 3, 4),
                   10 + 1:4, 1:4, c(1:2, 3, 4))
    
forest(m1)

enter image description here

I now want to remove the meta analysis and weights and the squares should also be of equal size. It should visualize the effects only. I photoshopped this:

enter image description here

How can I achieve this, thanks.

1

There are 1 best solutions below

0
On BEST ANSWER

You can remove those values with overall.

forest.meta(m1,overall=FALSE, overall.hetstat = FALSE)

enter image description here

You can check all possibility at the documentation