## S3 method for class 'meta':
update(object,
data=object$data, subset=object$subset,
studlab=object$data$.studlab,
method=object$method, sm=object$sm,
incr=object$incr, allincr=object$allincr,
addincr=object$addincr, allstudies=object$allstudies,
MH.exact=object$MH.exact, RR.cochrane=object$RR.cochrane,
level=object$level, level.comb=object$level.comb,
comb.fixed=object$comb.fixed, comb.random=object$comb.random,
hakn=object$hakn, method.tau=object$method.tau,
tau.preset=object$tau.preset,
TE.tau=object$TE.tau, tau.common=object$tau.common,
prediction=object$prediction, level.predict=object$level.predict,
method.bias=object$method.bias, backtransf = object$backtransf,
title=object$title, complab=object$complab, outclab=object$outclab,
label.e=object$label.e, label.c=object$label.c,
label.left=object$label.left, label.right=object$label.right,
n.e=object$n.e, n.c=object$n.c,
pooledvar=object$pooledvar, method.ci=object$method.ci,
byvar=object$byvar, bylab=object$bylab, print.byvar=object$print.byvar,
print.CMH=object$print.CMH, keepdata=TRUE,
left=object$left, ma.fixed=object$ma.fixed,
type=object$type, n.iter.max=object$n.iter.max,
warn=object$warn, ...)
meta
."Inverse"
, "MH"
, or
"Peto"
, can be abbreviated. (only for metabin object)"TA"
which stands for treatment arm continuity correction.incr
is added to each
cell frequency of all studies if at least one study has a zero cell
count. If FALSE (default), incr
is added only to each cell frequency of
studies with a zero cell count.incr
is added to each cell
frequency of all studies irrespective of zero cell counts.sm
is equal to "RR"
or "OR"
).incr
is not to be added
to all cell frequencies for studies with a zero cell count to
calculate the pooled estimate based on the Mantel-Haenszel method.incr
instead of
1*incr
is to be added to n.e
and n.c
in the
calculation of the risk ratio (i.e., sm="RR"
) for studies
with a zero cell. This is used in "DL"
, "PM"
, "REML"
, "ML"
, "HS"
,
"SJ"
, "HE"
, o"rank"
,
"linreg"
, "mm"
, "count"
, "score"
, or
"peters"
, can be abbreviated. Sbacktransf=TRUE
, results for sm="OR"
are printed as
odds ratios rather than log odds ratios and results for
sm="ZCOR
sm="MD"
)."CP"
, "WS"
, "WSCC"
, "AC"
,
"SA"
,, "SACC"
, or event.e
).metabias(..., method="linreg")
) is used to "L"
or "R"
.incr
is added to studies with zero cell
frequencies)."meta"
and "metabin"
,
"metacont"
, "metagen"
, "metaprop"
, or
"metacor"
.This function can also be used for objects of class 'trimfill', 'metacum', and 'metainf'. More details on function arguments are available in help files of respective R functions, i.e. metabin, metacont, ...
metabin
, metacont
, metagen
, metaprop
, metacor
data(Fleiss93cont)
meta1 <- metacont(n.e, mean.e, sd.e, n.c, mean.c, sd.c,
data=Fleiss93cont, sm="SMD", studlab=study)
meta1
# Change summary measure (from 'SMD' to 'MD')
#
update(meta1, sm="MD")
# Restrict analysis to subset of studies
#
update(meta1, subset=1:2)
# Use different levels for confidence intervals
#
meta2 <- update(meta1, level=0.66, level.comb=0.99)
print(meta2, digits=2)
forest(meta2)
Run the code above in your browser using DataLab