Hi Josh, Thank you for your response. I have recreated my issue using the Olkin 95 data and subgrouping by year of study - I hope it shows where my problem lies:
library(meta) data(Olkin95) metaeg<-metabin(event.e, n.e, event.c, n.c, studlab = author, data=Olkin95, method="MH", sm="OR", MH.exact=FALSE, RR.cochrane=FALSE, comb.fixed=TRUE, comb.random=TRUE, title="", complab="", outclab="", label.e="Active", label.c="Control", print.CMH=FALSE, warn=FALSE) Olkin95$year<-Olkin95$year metaeg$year<-addvar(metaeg,Olkin95,"year",by.y="author") as.data.frame(metaeg) print.meta(metaeg) forest (metaeg,byvar=year) Any ideas would be very much appreciated. Thanks again! -- View this message in context: http://r.789695.n4.nabble.com/Appearance-of-Forest-Plot-tp3075326p3076271.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.