How to add header for "% Weights" column to the left of "Correlation [95% CI]"

Context: I am trying to add a header on my forest plot for "% Weights" column to the left of "Correlation ]95% CI]": Forest Plots (Default Method) — forest.default • metafor

forest(
    res_tnfa,
    showweights=TRUE,
    annotate=TRUE,
    xlim=c(-1.6,1.6),
    atransf=transf.ztor,
    at=transf.rtoz(c(-.6,-.4,-.2,0,.2,.4,.6)),
    digits=c(2,1),
    cex=0.9,
    header="Authors. (Year)",
    xlab="Correlation coefficient",
    slab=paste(tnfa$author, tnfa$year, sep=" "
))

Problem: When I try to do it using the header argument in the forest function, it yields this result.

forest(
    res_tnfa,
    showweights=TRUE,
    annotate=TRUE,
    xlim=c(-1.6,1.6),
    atransf=transf.ztor,
    at=transf.rtoz(c(-.6,-.4,-.2,0,.2,.4,.6)),
    digits=c(2,1),
    cex=0.9,
    header=c("Authors. (Year)", "% Weights", "Correlation [95% CI]"),
    xlab="Correlation coefficient",
    slab=paste(tnfa$author, tnfa$year, sep=" "
))

error

A bonus thing I am trying to add is a confidence interval to the summary effect size (to the right of RE Model) if anyone knows how to do this!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.