Re: [R] Metafor: forest plot for subset

2014-05-26 Thread Viechtbauer Wolfgang (STAT)
..@r-project.org] > On Behalf Of Verena Weinbir > Sent: Monday, May 26, 2014 18:57 > To: r-help > Subject: [R] Metafor: forest plot for subset > > Hey, > > I want to build a forest plot which states author and year for a subset > of > studies. > > But if I use t

[R] Metafor: forest plot for subset

2014-05-26 Thread Verena Weinbir
Hey, I want to build a forest plot which states author and year for a subset of studies. But if I use this argument: resultREML <- rma(yi=yi, vi=vi, method = "REML", data = subset(empa, task=="x")) resultREML forest(resultREML, , slab=paste(empa$author, empa$year,sep = ",")