Produce an image plot of treatment ranking(s) generated with R
function netrank
.
# S3 method for netrank
plot(
...,
name,
common,
random,
seq,
low = "red",
mid = "yellow",
high = "green",
col = "black",
main,
main.size = 14,
main.col = col,
main.face = "bold",
legend = TRUE,
axis.size = 12,
axis.col = col,
axis.face = "plain",
na.value = "grey50",
angle = 45,
hjust.x = 1,
vjust.x = 1,
hjust.y = 1,
vjust.y = 0,
nchar.trts,
digits = 3,
fixed,
comb.fixed,
comb.random,
warn.deprecated = gs("warn.deprecated")
)
A ggplot2 object or NULL if no ranking was conducted.
A single netrank object or a list of netrank objects.
An optional character vector providing descriptive names for the network meta-analysis objects.
A logical indicating whether results for the common effects model should be plotted.
A logical indicating whether results for the random effects model should be plotted.
A character or numerical vector specifying the sequence of treatments on the x-axis.
A character string defining the colour for a P-score of
0, see scale_fill_gradient2
.
A character string defining the colour for a P-score of
0.5, see scale_fill_gradient2
.
A character string defining the colour for a P-score of
1, see scale_fill_gradient2
.
Colour of text.
Title.
Font size of title, see
element_text
.
Colour of title, see
element_text
.
Font face of title, see
element_text
.
A logical indicating whether a legend should be printed.
Font size of axis text, see
element_text
.
Colour of axis text, see
element_text
.
Font face of axis text, see
element_text
.
Colour for missing values, see
scale_fill_gradient2
.
Angle for text on x-axis, see
element_text
.
A numeric between 0 and 1 with horizontal
justification of text on x-axis, see
element_text
.
A numeric between 0 and 1 with vertical
justification of text on x-axis, see
element_text
.
A numeric between 0 and 1 with horizontal
justification of text on y-axis, see
element_text
.
A numeric between 0 and 1 with vertical
justification of text on y-axis, see
element_text
.
A numeric defining the minimum number of characters used to create unique treatment names.
Minimal number of significant digits, see
print.default
.
Deprecated argument (replaced by 'common').
Deprecated argument (replaced by 'common').
Deprecated argument (replaced by 'random').
A logical indicating whether warnings should be printed if deprecated arguments are used.
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de, Clément Palpacuer clementpalpacuer@gmail.com
This function produces an image plot of network rankings (Palpacuer
et al., 2018, Figure 4). Note, a scatter plot of two network
rankings can be generated with plot.netposet
.
By default, treatments are ordered by decreasing P-scores of the
first network meta-analysis object. Argument seq
can be used
to specify a differenct treatment order.
Palpacuer C, Duprez R, Huneau A, Locher C, Boussageon R, Laviolle B, et al. (2018): Pharmacologically controlled drinking in the treatment of alcohol dependence or alcohol use disorders: a systematic review with direct and network meta-analyses on nalmefene, naltrexone, acamprosate, baclofen and topiramate. Addiction, 113, 220--37
netrank
, netmeta
,
netposet
, hasse
,
dat.linde2015