Learn R Programming

rtemis (version 0.79)

cc: Concatenate Vectors

Description

Concatenate that maintains factors

Usage

cc(...)

Arguments

...

Two or more vectors of any type

Value

Concatenation of ...

Details

A c() replacement that maintains factors as factors because it doesn't make sense not to. If all inputs are factors, they are converted to character, concatenated and converted to factor again. Otherwise, they are passed to c()