On 08/18/2010 10:05 PM, Tal Galili wrote: > Hi Stephen, > > #first: > install.packages("reshape") > #Then try: > library(reshape) > #and then > ?melt > ?cast > This is also useful: http://www.jstatsoft.org/v21/i12/paper