order_factor_by {tidytidbits} | R Documentation |
Reorder a factor
Description
Makes f a factor ordered according to ... (which is passed to order)
Usage
order_factor_by(.f, ...)
Arguments
.f |
A factor |
... |
Passed to |
Details
This is a thin wrapper around forcats::fct_reorder()
, which is unintuitive in conjunction with order().
Value
Reordered factor
See Also
rename_reorder_factor
, rename_factor
, forcats::fct_reorder
[Package tidytidbits version 0.3.2 Index]