metaprop(event, n, studlab,
data = NULL, subset = NULL,
sm="PFT", freeman.tukey,
incr=0.5, allincr=FALSE, addincr=FALSE,
level = 0.95, level.comb = level,
comb.fixed=TRUE, comb.random=TRUE,
title="", complab="", outclab="",
byvar, bylab, print.byvar=TRUE,
warn=TRUE)
"PFT"
, "PAS"
, "PRAW"
, "PLN"
, or
"PLOGIT"
) is to be used for pooling of studies, see Details.sm
, see Details.incr
is added to each
cell frequency of all studies if at least one study has a zero cell
count. If false, 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.event.e
).incr
to studies with zero cell frequencies should result in a warning.c("metaprop", "meta")
with corresponding
print
, summary
, plot
function. The object is a
list containing the following components:"proportion"
"Inverse"
sm="PFT"
: Freeman-Tukey Double arcsine transformationsm="PAS"
: Arcsine transformationsm="PRAW"
: Raw, i.e. untransformed, proportionssm="PLN"
: Log transformationsm="PLOGIT"
: Logit transformationfreeman.tukey
could be used to distinguish between these two methods. The use of the
argument freeman.tukey
is deprecated and the argument will
probably removed from the function metaprop
in the future. At
the moment, a correponding warning message is printed if the argument
freeman.tukey
is used.
If the summary measure is equal to "PRAW", "PLN", or "PLOGIT", a
continuity correction is applied if any studies has a zero cell
count. By default, 0.5 is added to all cell frequencies of studies
with a zero cell count (argument incr
).
Internally, both fixed effect and random effects models are calculated
regardless of values choosen for arguments comb.fixed
and
comb.random
. Accordingly, the estimate for the random effects
model can be extracted from component TE.random
of an object
of class "meta"
even if comb.random=FALSE
. However, all
functions in R package meta
will adequately consider the values
for comb.fixed
and comb.random
. E.g. function
print.meta
will not print results for the random effects
model if comb.random=FALSE
.Freeman MF & Tukey JW (1950), Transformations related to the angular and the square root. Annals of Mathematical Statistics, 21, 607--611.
metacont
, metagen
, print.meta
metaprop(4:1, c(10, 20, 30, 40))
metaprop(4:1, c(10, 20, 30, 40), sm="PAS")
metaprop(4:1, c(10, 20, 30, 40), sm="PRAW")
metaprop(4:1, c(10, 20, 30, 40), sm="PLN")
metaprop(4:1, c(10, 20, 30, 40), sm="PLOGIT")
Run the code above in your browser using DataLab