[R] Appearance of Forest Plot

s306 stephthurston at hotmail.com
Tue Dec 7 13:31:13 CET 2010


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.



More information about the R-help mailing list