mr_forest_plot_grouped | R Documentation |
Grouped forest plot
mr_forest_plot_grouped(
name,
eff_Col = "b",
exposure_Name = "exposure",
outcome_Name = "outcome",
forest_Title = "",
outfile_Name = "annot_FP.pdf",
left_Col_Names = c("Exposure", "Outcome"),
left_Col_Titles = NULL,
right_Col_Names = c("p", "Outcome.n.case", "Outcome.n.control", "Outcome.sample.size"),
right_Col_Titles = NULL,
debug = FALSE,
log_ES = FALSE,
decrease = TRUE,
returnRobj = TRUE,
se_Col = "se"
)
name |
(character) name of the delimited file containing all of the results on the first sheet (needs to have headers), or of the r object. |
eff_Col |
(character) name of the column in the delimited file that contains the effect sizes. |
exposure_Name |
(character) name of the column in the delimited file containing the types of studies. |
outcome_Name |
(character) name of the column in the delimited file containing the names of each study. |
forest_Title |
(character) the title to be used for a forest plot. |
outfile_Name |
(character) name to be used for output file (.pdf) or (.wmf). |
left_Col_Names |
(character vector) vector containing the names of the left-hand-side annotation columns in the delimited file. |
left_Col_Titles |
(character vector) vector containing the titles for each left-hand-side annotation column. |
right_Col_Names |
(character vector) vector containing the names of the right-hand-side annotation columns in the delimited file. |
right_Col_Titles |
(character vector) vector containing the titles for each right-hand-side annotation column. |
debug |
(logical) show warnings |
log_ES |
(logical) perform natural log transform of effect sizes and confidence bounds |
decrease |
(logical) sort the studies by decreasing effect sizes |
returnRobj |
(logical) return the graph as an internal R object |
se_Col |
(character) name of the column giving the standard error of the effect sizes. |
grid object giving the forest plot (or plot as pdf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.