View source: R/forest_plot_1-to-many.R
sort_1_to_many | R Documentation |
This function sorts user-supplied results for the forest_plot_1_to_many()
function. The user supplies their results in the form of a data frame.
sort_1_to_many(
mr_res,
b = "b",
trait_m = "outcome",
sort_action = 4,
group = NULL,
priority = NULL
)
mr_res |
Data frame of results supplied by the user. |
b |
Name of the column specifying the effect of the exposure on the outcome. The default is |
trait_m |
The column specifying the names of the traits. Corresponds to 'many' in the 1-to-many forest plot. The default is |
sort_action |
Choose how to sort results.
|
group |
Name of grouping variable in |
priority |
If |
data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.