What is the base equivalent of forcats::fct_rev?
FJCC
2
If your factor is named f
, the equivalent seems to be:
factor(f, levels = rev(levels(f)))
1 Like
Thanks @FJCC
Now I have another question which I've put here
system
Closed
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.