cFactor: Combine multiple factors and return a factor.

View source: R/factor.R

cFactorR Documentation

Combine multiple factors and return a factor.

Description

Note that function does not inherit from c to not change R semantics behind your back when this package is loaded.

Usage

cFactor(...)

Arguments

...

[factor]
The factors.

Value

[factor].

Examples

f1 = factor(c("a", "b"))
f2 = factor(c("b", "c"))
print(c(f1, f2))
print(cFactor(f1, f2))

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.

Related to cFactor in BBmisc...