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,
...
)Character/factor column to turn into an ordered factor.
Numeric variable used for ordering (e.g. the point estimate).
Aggregation function (default mean).
Logical; if TRUE largest value gets the top row.
Logical; if TRUE "Summary" is pinned to row 1
(bottom of a ggplot y-axis).
Other arguments, currently unimplemented.