| reorder_forest | R Documentation |
Orders levels of x by bvar (via fn), with "Summary"
optionally pinned to the bottom (or top).
reorder_forest(
x,
bvar,
fn = mean,
descending = TRUE,
summary_bottom = TRUE,
...
)
x |
Character/factor column to turn into an ordered factor. |
bvar |
Numeric variable used for ordering (e.g. the point estimate). |
fn |
Aggregation function (default |
descending |
Logical; if |
summary_bottom |
Logical; if |
... |
Other arguments, currently unimplemented. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.