Learn R Programming

forcats (version 0.5.2)

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
fs <- list(factor("a"), factor("b"), factor(c("a", "b")))
lvls_union(fs)

Run the code above in your browser using DataLab