search for: catent

Displaying 1 result from an estimated 1 matches for "catent".

Did you mean: patent
2007 May 23
1
Catenating factors.
I was recently asked by one of new colleagues how to combine, or catentate, or concatentate two factors. If x and y are factors, doing c(x,y) appears to coerce x and y to numeric mode before catenating them. So what does one do if one wants the result to be a factor whose levels are the union of the levels of x and y? I vaguely recall seeing this discussed in r-help...