## 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,
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,
byvar=object$byvar, bylab=object$bylab, print.byvar=object$print.byvar,
print.CMH=object$print.CMH, keepdata=TRUE,
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", "REML", "ML", "HS", "SJ",
"HE", or "EB""rank",
"linreg", "mm", "count", "score", or
"peters", can be abbreviated.event.e).incr is added to studies with zero cell
frequencies)."meta" and "metabin",
"metacont", "metagen", "metaprop", or
"metacor".metabin, metacont, metagen, metaprop, metacordata(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)Run the code above in your browser using DataLab