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

1
fct_c(fs)

Arguments

fs

A list of factors

Examples

1
2
fs <- list(factor("a"), factor("b"), factor(c("a", "b")))
fct_c(fs)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.