powered by
fct_unify(fs, levels = lvls_union(fs))
fs <- list(factor("a"), factor("b"), factor(c("a", "b"))) fct_unify(fs)
Run the code above in your browser using DataLab