How to concatenate factors, without them being converted to integer level?

From the R Mailing list:

unlist(list(facs[1 : 3], facs[4 : 5]))

To ‘cbind’ factors, do

data.frame(facs[1 : 3], facs[4 : 5])

Leave a Comment