netmetareg.netmeta | R Documentation |
Network meta-regression with a single continuous or binary covariate for
objects of class netmeta
. This is a wrapper function for the R
function rma.mv
in the R package metafor
(Viechtbauer 2010).
## S3 method for class 'netmeta'
netmetareg(
x,
covar = NULL,
consistency = TRUE,
assumption = "independent",
method.tau = if (!x$random) "FE" else "REML",
level = x$level.ma,
reference.group = x$reference.group,
nchar.trts = x$nchar.trts,
...
)
netmetareg(x, ...)
## Default S3 method:
netmetareg(x, ...)
## S3 method for class 'netmetareg'
print(
x,
digits = gs("digits"),
digits.se = gs("digits.se"),
digits.stat = gs("digits.stat"),
digits.pval = gs("digits.pval"),
print.se = FALSE,
details.methods = TRUE,
...
)
x |
An object of class |
covar |
Continuous or binary covariate. |
consistency |
A logical indicating whether a consistency or inconsistency model should be assumed. |
assumption |
A character string indicating which assumption is done for the covariate; either "independent" or "common" (can be abbreviated). |
method.tau |
A character string indicating which method is
used to estimate the between-study variance tau-squared. Either
|
level |
The level used to calculate confidence intervals for regression coefficients. |
reference.group |
Reference treatment. |
nchar.trts |
A numeric defining the minimum number of characters used to create unique treatment names. |
... |
Additional arguments passed to R function
|
digits |
Minimal number of significant digits, see
|
digits.se |
Minimal number of significant digits for standard errors. |
digits.stat |
Minimal number of significant digits for z- or
t-value, see |
digits.pval |
Minimal number of significant digits for p-value
of overall treatment effect, see |
print.se |
A logical specifying whether standard errors should be printed. |
details.methods |
A logical specifying whether details on statistical methods should be printed. |
This R function is a wrapper function for R function
rma.mv
in the R package metafor
(Viechtbauer 2010).
Note, results are not back-transformed in printouts of
network meta-analyses using summary measures with transformations, e.g.,
log risk ratios are printed instead of the risk ratio if argument
sm = "RR"
.
Argument '...' can be used to pass additional arguments to R
function rma.mv
. For example, argument
control
to provide a list of control values for the
iterative estimation algorithm. See help page of R function
rma.mv
for more details.
An object of class c("netmetareg", "rma.mv", "rma")
. Please
look at the help page of R function rma.mv
for more details on the output from this function.
In addition, a list .netmeta
is added to the output containing
the following components:
x , covar , method.tau |
As defined above. |
dots |
Information provided in argument '...'. |
call |
Function call. |
version |
Version of R package netmeta used to create object. |
version.metafor |
Version of R package metafor used to create object. |
Nana-Adjoa Kwarteng nana-adjoa.kwarteng@uniklinik-freiburg.de, Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
Viechtbauer W (2010): Conducting Meta-Analyses in R with the Metafor Package. Journal of Statistical Software, 36, 1–48
netmeta
# Add examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.