Hello List, It seems that stack() does not include factors. Any easy way of "stacking" factors in a dataframe without recoding to numbers? Thanks Herry -------------------------------------------- Alexander Herr - Herry CSIRO Sustainable Ecosystems: http://www.cse.csiro.au/ -------------------------------------------- [[alternate HTML version deleted]]
Alexander.Herr at 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.