A friend asked me to help with a forest plot recently. After chatting about what she wanted the end result to look like, this is what I came up with.
grid.arrange(data_table, p, ncol=2)
## Warning: Removed 1 rows containing missing values (geom_point).
The package rmeta offers two different versions. One with forestplot like so:
And one with metaplot like so:
It wasn’t too much work to create ‘another’ custom option to get what my friend wanted, so thought I’d share the code for anyone else interest. There was a little bit of ‘misdirection’ for lack of a better term to get it across the line, and I’m sure elements of this are sloppy. You can access the code on my github.
system(“pandoc -s forest_plot.md -o forest_plot.html”)