fct_shuffle(f)
f <- factor(c("a", "b", "c")) fct_shuffle(f) fct_shuffle(f)
Run the code above in your browser using DataCamp Workspace