Skip to content
Prev 36 / 5632 Next

[R-meta] Partial residual plots and meta-analysis

Hi Wolfgang,

Many thanks, I like this approach too.

One minor question: when I try to plot the result in ggplot, it complains about the class of the output from pred:

MAPpred <- predict(ECM, newmods=cbind(645:1750, mean(ecmdat$MAT), 300,  mean(ecmdat$MAT) * 300),  addx = T)

ggplot(MAPpred, aes(X[,"MAP"], make_pct(pred))) + ?

Error: ggplot2 doesn't know how to deal with data of class list.rma

I tried to do ?as.data.frame?, but it doesn?t work. Any suggestion?
Thanks
C?sar