Learn R Programming

forcats (version 0.0.0.9000)

lvl_union: Find all levels in a list of factors

Description

Find all levels in a list of factors

Usage

lvl_union(fs)

Arguments

fs
A list of factors.

Examples

Run this code
fs <- list(factor("a"), factor("b"), factor(c("a", "b")))
lvl_union(fs)

Run the code above in your browser using DataLab