[Rd] Why is there no c.factor?
Hadley Wickham
hadley at rice.edu
Thu Feb 4 19:03:38 CET 2010
> I'd propose the following: If the sets of levels of all arguments are the
> same, then c.factor() would return a factor with the common set of levels;
> if the sets of levels differ, then, as Hadley suggests, the level-set of the
> result would be the union of sets of levels of the arguments, but a warning
> would be issued.
I like this compromise (as long as there was an argument to suppress
the warning)
Hadley
--
http://had.co.nz/
More information about the R-devel
mailing list