forest_plot_basic | R Documentation |
This function is used to create a basic forest plot.
It requires the output from format_mr_results()
.
forest_plot_basic(
dat,
section = NULL,
colour_group = NULL,
colour_group_first = TRUE,
xlab = NULL,
bottom = TRUE,
trans = "identity",
xlim = NULL,
threshold = NULL
)
dat |
Output from |
section |
Which category in dat to plot. If |
colour_group |
Which exposure to plot. If |
colour_group_first |
The default is |
xlab |
x-axis label. Default= |
bottom |
Show x-axis? Default= |
trans |
Transformation of x axis. |
xlim |
x-axis limits. |
threshold |
p-value threshold to use for colouring points by significance level. If |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.