powered by
This is sometimes useful when plotting a factor.
fct_rev(f)
A factor (or character vector).
f <- factor(c("a", "b", "c")) fct_rev(f)
Run the code above in your browser using DataLab