Skip to content
Prev 269550 / 398502 Next

Change color in forest.rma (metafor)

Am 24.08.2011 07:50, schrieb Paola Tellaroli:
As far as I know, "col" and "border" do only affect the fitted values
("diamonds"), i.e. the FEM/REM estimators (see ?forest.rma: "col:
character string specifying the name of a color to use for _the fitted_
values (?"darkgray"? by default).")

Furthermore, I had a quick look at the source code and it might be a
bug. If I replace in line 2770 the line

cex * efac), col = "black", ...)

with

cex * efac), col = col, ...)

you can at least specify your own colour. Changing the border color
seems a bit more tricky...

However, Wolfgang Viechbauer (the package author) is always a very
responsive and helpful person and I suggest you better wait for his answer.

Bernd