Learn R Programming

forcats (version 0.5.0)

lvls_union: Find all levels in a list of factors

Description

Find all levels in a list of factors

Usage

lvls_union(fs)

Arguments

fs

A list of factors.

Examples

Run this code
# NOT RUN {
fs <- list(factor("a"), factor("b"), factor(c("a", "b")))
lvls_union(fs)
# }

Run the code above in your browser using DataLab