Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

forcats (version 0.0.0.9000)

fct_c: Concatenate factors, unioning levels.

Description

This is useful way of patching together factors from multiple sources that really should have the same levels but don't.

Usage

fct_c(fs)

Arguments

fs
A list of factors

Examples

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

Run the code above in your browser using DataLab