powered by
droplevels()
fct_drop(f)
f <- factor(c("a", "b"), levels = c("a", "b", "c")) f fct_drop(f)
Run the code above in your browser using DataLab