Skip to content
Prev 519 / 5632 Next

[R-meta] standard error in predictive nonlinear meta-regression

I do not know the overlay() function, but the 'newmods' argument of predict() can also take multiple rows, so something like this:

MAPvals <- seq(0, 2, by=0.1)
MATvals <- seq(1, 10, by=1)
X <- expand.grid(MAP=MAPvals, MAT=MATvals)
X <- cbind(X, 300, X$MAT*300)
predict(ECMmeta, newmods = X)

You still might need to do some further restructuring.

Best,
Wolfgang