Re: [R] stack on factors <2FE6D3D02CCDD211B80600902745F56C018D11F6@exchange-tv.tvl.qld.csiro.au>

About this list Date view Thread view Subject view Author view Attachment view

From: Douglas Bates (bates@stat.wisc.edu)
Date: Sat 21 Dec 2002 - 02:43:51 EST


Message-id: <6rhed8elvs.fsf@bates5.stat.wisc.edu>

Alexander.Herr@csiro.au writes:

> It seems that stack() does not include factors. Any easy way of "stacking"
> factors in a dataframe without recoding to numbers?

You may want to try reshape(..., direction = 'long') instead of stack.

______________________________________________
R-help@stat.math.ethz.ch mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jun 2004 - 09:31:59 EST