fct_unify | R Documentation |
Unify the levels in a list of factors
fct_unify(fs, levels = lvls_union(fs))
fs |
A list of factors |
levels |
Set of levels to apply to every factor. Default to union of all factor levels |
fs <- list(factor("a"), factor("b"), factor(c("a", "b"))) fct_unify(fs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.