Skip to content
Prev 170447 / 398503 Next

tapply bug? - levels of a factor in a data frame after tapply are intermixed

Both Greg and Marc - thank you so much!

It helped a lot. What I just discovered also works (similar to Greg's
suggestions) is to make it first a character and THEN to do:
as.factor(as.numeric(original character vector))).

Wow! R never stops surprizing one - and I am just in the beginning of
the journey!
Thank you!
Dimitri
On Fri, Feb 13, 2009 at 1:13 PM, Greg Snow <Greg.Snow at imail.org> wrote: