What is the base equivalent of forcats::fct_rev?
If your factor is named
f, the equivalent seems to be:
factor(f, levels = rev(levels(f)))
Now I have another question which I've put here
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.