Skip to content
Prev 170431 / 398503 Next

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

Think of the levels as a table you are going to index into.  The
factors that you see (2, 1, 3) are the indices into the levels so you
get 9, 3, 15 as the result.

What were you expecting?  It is working as it is supposed to.
On Fri, Feb 13, 2009 at 12:09 PM, Dimitri Liakhovitski <ld7631 at gmail.com> wrote: