R/factor.R
cFactor.Rd
Note that function does not inherit from c to not change R semantics behind your back when this package is loaded.
c
cFactor(...)
[factor] The factors.
factor
[factor].
f1 = factor(c("a", "b")) f2 = factor(c("b", "c")) print(c(f1, f2)) #> [1] a b b c #> Levels: a b c print(cFactor(f1, f2)) #> [1] a b b c #> Levels: a b c