Learn R Programming

BBmisc (version 1.13)

cFactor: 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(...)

Value

[factor].

Arguments

...

[factor]
The factors.

Examples

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

Run the code above in your browser using DataLab