Re: [R] Problems reshaping data with cast()

2008-02-07 Thread Neil Shephard
On Feb 7, 2008 2:21 PM, hadley wickham <[EMAIL PROTECTED]> wrote: > Hi Neil, > > I think your cast statement is wrong. You have > > cast(norm.all.melted.height, Sample.Name + SNP + Pool ~ value, sum) > > but I think you want > > cast(norm.all.melted.height, Sample.Name + SNP + Pool ~ ., sum) > > i

Re: [R] Problems reshaping data with cast()

2008-02-07 Thread hadley wickham
Hi Neil, I think your cast statement is wrong. You have cast(norm.all.melted.height, Sample.Name + SNP + Pool ~ value, sum) but I think you want cast(norm.all.melted.height, Sample.Name + SNP + Pool ~ ., sum) i.e. value never appears in the cast formula. Hadley On Feb 7, 2008 7:11 AM, Neil