Description Usage Arguments Details Value See Also
Plot the results of a network meta-analysis
1 2 | plotEstimates(df, yvar, xvar = "median", lowLimit = "CrI_lower",
hiLimit = "CrI_upper", xlabel = "Effect Estimate", noEffectLine = 1)
|
df |
A data frame containing summary statistics for the posterior distribution of the parameters in a network meta-analysis. |
yvar |
A character string specifying the name of the column in |
xvar |
A character string specifying the name of the column in |
lowLimit, hiLimit |
Character strings specifying the names of the
columns in |
xlabel |
A character string to be used as a label on the x-axis. This is usually the type of effect measure, e.g. 'Odds ratio', 'Rate Ratio' etc. |
noEffectLine |
An integer indicating where to draw the line of no effect. For ratio measures this is usually 1. For mean differences this is usually 0. |
report_order |
A character string indicating whether the treatments should be reported in the order the order they were provided (default) or if a custom order is required. Acceptable values are 'default' or 'custom'. |
This function should most commonly be used with the output from
extractTOI
to plot the results for a particular treatment of interest. This
function uses ggplot to do the actual plotting and returns a ggplot object
which may be further modified if required or just saved to a file.
A ggplot object
extractTOI
, geom_point
,
geom_errorbarh
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.