## S3 method for class 'default':
labbe(x, y,
xlim, ylim,
xlab=NULL, ylab=NULL,
TE.fixed, TE.random,
comb.fixed=FALSE, comb.random=FALSE,
axes=TRUE,
pch=21, text=NULL, cex=1,
col="black", bg="lightgray",
lwd=1, lwd.fixed=lwd, lwd.random=lwd,
lty.fixed=2, lty.random=9,
sm=NULL, weight,
studlab=FALSE, cex.studlab=0.8,
...)## S3 method for class 'metabin':
labbe(x,
xlim, ylim,
xlab=NULL, ylab=NULL,
TE.fixed=x$TE.fixed,
TE.random=x$TE.random,
comb.fixed=x$comb.fixed,
comb.random=x$comb.random,
axes=TRUE,
pch=21, text=NULL, cex=1,
col="black", bg="lightgray",
lwd=1, lwd.fixed=lwd, lwd.random=lwd,
lty.fixed=2, lty.random=9,
sm=x$sm, weight,
studlab=FALSE, cex.studlab=0.8, ...)
metabin
.x
is an appropriate structure.pch
in 21:25
).comb.fixed
is not NULL
or FALSE
).comb.random
is not NULL
or FALSE
)."RD"
, "RR"
, "OR"
."same"
,
x$event.e
then).par
may also be
passed as arguments.comb.fixed
is TRUE, the pooled estimate of the fixed effect
model is plotted as a line. If comb.random
is TRUE, the pooled
estimate of the random effects model is plotted as a line. Information from object x
is utilised if argument weight
is missing. Weights from the fixed effect model are used
(weight="fixed"
) if argument x$comb.fixed
is
TRUE
; weights from the random effects model are used
(weight="random"
) if argument x$comb.random
is TRUE
and x$comb.fixed
is FALSE
.
metabin
data(Olkin95)
meta1 <- metabin(event.e, n.e, event.c, n.c,
data=Olkin95,
studlab=paste(author, year),
sm="RR", method="I")
##
## L'Abbe plot
##
labbe(meta1)
Run the code above in your browser using DataLab