Skip to content
Prev 308278 / 398506 Next

how to concatenate factor vectors?

How do I concatenate two vectors of factors?
--8<---------------cut here---------------start------------->8---
int [1:14] 5 4 3 2 1 9 8 7 6 5 ...
Factor w/ 9 levels "1","2","3","4",..: 5 4 3 2 1 9 8 7 6 5 ...
--8<---------------cut here---------------end--------------->8---
so, unlist(list()) works.
is there a better way or is this how this is supposed to be done?
Thanks!