Usage
metacr(x, comp.no=1, outcome.no=1, method, sm, level=gs("level"), level.comb=gs("level.comb"), comb.fixed, comb.random, hakn=FALSE, method.tau="DL", tau.common=FALSE, prediction=gs("prediction"), level.predict=gs("level.predict"), swap.events, logscale, backtransf=gs("backtransf"), title, complab, outclab, keepdata=gs("keepdata"), warn=FALSE)
Arguments
x
An object of class rm5
created by R function
read.rm5
.
comp.no
Comparison number.
outcome.no
Outcome number.
method
A character string indicating which method is to be used
for pooling of studies. One of "Inverse"
, "MH"
, or
"Peto"
, can be abbreviated.
sm
A character string indicating which summary measure
("RR"
, "OR"
, "RD"
, "ASD"
, "HR"
,
"MD"
, or "SMD"
, or "ROM"
) is to be used for
pooling of studies.
level
The level used to calculate confidence intervals for
individual studies.
level.comb
The level used to calculate confidence intervals for
pooled estimates.
comb.fixed
A logical indicating whether a fixed effect
meta-analysis should be conducted.
comb.random
A logical indicating whether a random effects
meta-analysis should be conducted.
hakn
A logical indicating whether the method by Hartung and
Knapp should be used to adjust test statistics and
confidence intervals.
method.tau
A character string indicating which method is used
to estimate the between-study variance $\tau^2$. Either
"DL"
, "PM"
, "REML"
, "ML"
, "HS"
,
"SJ"
, "HE"
, or "EB"
, can be abbreviated.
tau.common
A logical indicating whether tau-squared should be
the same across subgroups.
prediction
A logical indicating whether a prediction interval
should be printed.
level.predict
The level used to calculate prediction interval
for a new study.
swap.events
A logical indicating whether events and
non-events should be interchanged.
logscale
A logical indicating whether effect estimates are
entered on log-scale.
backtransf
A logical indicating whether results should be
back transformed in printouts and plots. If backtransf=TRUE
(default), results for sm="OR"
are printed as odds ratios
rather than log odds ratios and results for sm="ZCOR"
are
printed as correlations rather than Fisher's z transformed
correlations, for example.
title
Title of meta-analysis / systematic review.
keepdata
A logical indicating whether original data (set)
should be kept in meta object.
warn
A logical indicating whether warnings should be printed
(e.g., if incr
is added to studies with zero cell
frequencies).