forest_plot | R Documentation |
Generate a forest plot using ggplot2. This function has capability to be split into multiple forests and was generated to display Mendelian randomization results with a binary outcome.
forest_plot(
dat,
col_num,
group = NA,
y_axis,
units = NULL,
title = NULL,
scale = 1,
null_at = 1,
text_size = "norm",
meta = FALSE,
f_var = "facet_var"
)
dat |
a data.frame containing the data |
group |
group |
y_axis |
y-axis |
units |
units |
title |
title |
scale |
scale |
null_at |
null at |
text_size |
text size |
meta |
meta-analysis? |
f_var |
facet variable name |
forest plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.