On Thu, Feb 4, 2010 at 10:45 AM, Patrick Burns <pbu...@pburns.seanet.com> wrote: > The argument I have in 'The R Inferno' > is that how you want to combine factors > may differ from someone else's desires. > > There are lots of tricky questions: > What about ordered factors? > What if the ordered levels are different in > different objects?
Ordered factors are trickier. I'd suggest the following compromise: * if all orders are the same, return an ordered factor * if not, return a factor with a warning Hadley -- http://had.co.nz/ ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel