PlotScope
Statistics in real R

Forest plot generator, run in real R

Paste one row per study and get a publication-ready forest plot from the R package meta: random effects with REML and the Hartung-Knapp adjustment, I², τ² and the prediction interval, plus the methods paragraph and the R code.

Forest plot of six studies, mean difference, random-effects model, made by PlotScope in R
Real output of the PlotScope R engine, made from sample data.

Your table

studymean_intsd_intn_intmean_ctrlsd_ctrln_ctrl
Chen 20204.11.6405.61.838
Nguyen 20193.21.41205.31.5118
Mensah 20233.91.5605.41.762

One row per study: means, SDs and n per arm (MD or SMD), events and totals per arm (RR or OR), events and totals in one arm (proportions), or a precalculated effect with its SE.

How it is chosen

Random-effects model with REML for τ² and the Hartung-Knapp adjustment for the confidence interval; heterogeneity as I² and τ²; the prediction interval is always shown. The model is fixed before anyone looks at heterogeneity.

You get

R packages: R · meta · metafor · ggplot2

Questions

Which model does the forest plot use?

Random effects, with REML for the between-study variance and the Hartung-Knapp adjustment for the confidence interval. The choice is made before looking at heterogeneity, so a low I² never switches it to a common-effect model.

My papers report medians and IQRs. Can I still use them?

Yes. The converter estimates the mean with Luo 2018 and the SD with Wan 2014, and writes the methods sentence that cites both.

How much does it cost?

Reading your table is free. A figure uses about 40 credits; US$ 1 buys 150 credits, with no subscription.

More from PlotScope