Produces a league table that contains point estimates of relative effects for all possible pairs of treatments along with 95% credible intervals obtained with the quantile method.
## S3 method for class 'crossnma'league( x, median =TRUE, backtransf = x$model$backtransf, order =NULL, cov1.value =NULL, cov2.value =NULL, cov3.value =NULL, digits = gs("digits"), direction ="wide", exp = backtransf,...)league(x,...)## S3 method for class 'league.crossnma'print(x,...)
Arguments
x: An object created with crossnma.
median: A logical indicating whether to use the median (default) or mean to measure relative treatment effects.
backtransf: A logical indicating whether results should be back transformed. If backtransf = TRUE, results for sm = "OR" are presented as odds ratios rather than log odds ratios, for example.
order: A vector of treatment names (character) representing the order in which to display these treatments.
cov1.value: The participant covariate value of cov1
for which to report the results. Must be specified for network meta-regression and when individual participant dataset is used in the analysis. For dichotomous covariates, a character of the level (used in the data) should be indicated.
cov2.value: The participant covariate value of cov2
for which to report the results. Must be specified for network meta-regression and when individual participant dataset is used in the analysis. For dichotomous covariates, a character of the level (used in the data) should be indicated.
cov3.value: The participant covariate value of cov3
for which to report the results. Must be specified for network meta-regression and when individual participant dataset is used in the analysis. For dichotomous covariates, a character of the level (used in the data) should be indicated.
digits: The number of digits to be used when displaying the results.
direction: The format to display the league table. Two options "wide" (default) and "long".
exp: Deprecated argument (replaced by backtransf).
...: Additional arguments (ignored at the moment).
Returns
A league table. Row names indicate comparator treatments. The table will be displayed in a long or wide formatting.
Examples
## Not run:# We conduct a network meta-analysis assuming a random-effects# model.# The data comes from randomized-controlled trials and# non-randomized studies (combined naively)head(ipddata)# participant-level datastddata # study-level data# Create a JAGS modelmod <- crossnma.model(treat, id, relapse, n, design, prt.data = ipddata, std.data = stddata, reference ="A", trt.effect ="random", method.bias ="naive")# Fit JAGS modelset.seed(1909)fit <- crossnma(mod)# Create league tablesleague(fit)# wide formatleague(fit, direction ="long")# long format## End(Not run)