Re: [R] Help Required in using cast (reshape package) function

2007-11-21 Thread hadley wickham
On 11/21/07, Punit Anand <[EMAIL PROTECTED]> wrote: > Hello everyone, > > Since the fields in variables column are unique with respect to ID and > fiscal year; any function like > sum,min,max,mean etc will lead to the desired result You should probably check that, as the warning only occurs when a

Re: [R] Help Required in using cast (reshape package) function

2007-11-21 Thread Punit Anand
Hello everyone, Since the fields in variables column are unique with respect to ID and fiscal year; any function like sum,min,max,mean etc will lead to the desired result Therefore cast(dataread, ID + Period ~ variable,sum) Will lead to the desired result in my case; Thanks, Punit -Ori