View source: R/summary.metabind.R
| summary.metabind | R Documentation |
Summary method for objects of class metabind. Summaries are printed
using a wrapper for print.metabind, providing a standard
summary() interface for combined meta-analysis results.
## S3 method for class 'metabind'
summary(object, ...)
## S3 method for class 'summary.metabind'
print(
x,
common = !is.null(x$common),
random = !is.null(x$random),
prediction = !is.null(x$predict),
overall = common || random,
print = NULL,
digits = NULL,
lab.NA = ".",
big.mark = gs("big.mark"),
scientific.pval = gs("scientific.pval"),
zero.pval = gs("zero.pval"),
JAMA.pval = gs("JAMA.pval"),
text.tau2 = gs("text.tau2"),
text.tau = gs("text.tau"),
text.I2 = gs("text.I2"),
details.methods = gs("details"),
...
)
object |
An object of class |
... |
Additional arguments, ignored by |
x |
An object of class |
common |
A logical indicating whether common effect estimates should be printed. |
random |
A logical indicating whether random effects estimates should be printed. |
prediction |
A logical indicating whether prediction intervals should be printed. |
overall |
A logical indicating whether overall summaries should be printed. This argument is useful in a meta-analysis with subgroups if summaries should only be printed on group level. |
print |
A named list specifying which information to print; see
|
digits |
A named list specifying digits used for displayed results; a
scalar value is also accepted. See |
lab.NA |
A character string to label missing values. |
big.mark |
A character used as thousands separator. |
scientific.pval |
A logical specifying whether p-values should be printed in scientific notation, e.g., 1.2345e-01 instead of 0.12345. |
zero.pval |
A logical specifying whether p-values should be printed with a leading zero. |
JAMA.pval |
A logical specifying whether p-values for test of overall effect should be printed according to JAMA reporting standards. |
text.tau2 |
Text printed to identify between-study variance
|
text.tau |
Text printed to identify |
text.I2 |
Text printed to identify heterogeneity statistic
I |
details.methods |
A logical specifying whether details on statistical methods should be printed. |
An object of class "summary.metabind" with a corresponding print
method.
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
metabind, print.metabind
data(Fleiss1993bin)
#
ma1 <- metabin(d.asp, n.asp, d.plac, n.plac,
data = Fleiss1993bin, studlab = study, sm = "RR", method = "I")
ma2 <- update(ma1, method = "MH", random = FALSE)
#
mb <- metabind(ma1, ma2)
#
# Identical printouts
summary(mb)
mb
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.