Skip to content
Prev 2162 / 5636 Next

[R-meta] Forest plot using the robumeta package

Dear all
I am trying to use the forest.robu option in the robumeta R package
<https://cran.r-project.org/web/packages/robumeta/vignettes/robumetaVignette.pdf>for
computing robust variance estimations.
However, though I get no error when I run the code (attached at the end), I
get a forest plot where the visualization only shows a part of my studies,
like a portion was cut from the whole forest plot.
I have 65 studies and 75 effects (some studies have multiple outcomes)
grouped in 3 categories using a categorical variable (SOR, selective
outcome reporting, which has 3 possible labesl 0, 1, 8).
I tried to zoom to save as pdf to save as image but I still do not get
anything I can use.
Maybe this is a pretty trivial question, but how can I visualize and save a
forest plot that includes all of my studies?
(I did load the grid package)

Code:
#Robust variance estimator, intercept-only model#
Reported_intercept <- robu(formula = SMD ~ 1, data=Reported01,
                           studynum = Study, var.eff.size = Var,
modelweights = "CORR", rho = 0.8, small = TRUE)
print(Reported_intercept)

forest.robu(Reported_intercept, es.lab = "SOR_study", study.lab = "Study",
           "Effect Size" = effect.size, # optional column
           "Weight" = r.weights)        # optional column

Thank you!
Ioana