Re: [R] Reporting with down and across variables

2008-09-18 Thread hadley wickham
Possibly - in the next version, you'll get a helpful warning message and cast will take it's best guess at the column that it should use. Hadley On Thu, Sep 18, 2008 at 10:15 AM, Matthew Pettis <[EMAIL PROTECTED]> wrote: > It does, thanks! Did I miss in the documentation that the variable > has

Re: [R] Reporting with down and across variables

2008-09-18 Thread Matthew Pettis
It does, thanks! Did I miss in the documentation that the variable has to be named 'value'? On Thu, Sep 18, 2008 at 10:08 AM, hadley wickham <[EMAIL PROTECTED]> wrote: > On Thu, Sep 18, 2008 at 10:03 AM, Matthew Pettis > <[EMAIL PROTECTED]> wrote: >> [Reposting with changed example] >> Hi, >> >>

[R] Reporting with down and across variables

2008-09-18 Thread Matthew Pettis
[Reposting with changed example] Hi, I want to take the dataframe df generated below and reshape the data with column names being w, x, y, and the different levels of z. The values under the different levels of z are the corresponding values of r. I've tried reshape and cast, and I can't seem to

Re: [R] Reporting with down and across variables

2008-09-18 Thread hadley wickham
On Thu, Sep 18, 2008 at 10:03 AM, Matthew Pettis <[EMAIL PROTECTED]> wrote: > [Reposting with changed example] > Hi, > > I want to take the dataframe df generated below and reshape the data with > column names being w, x, y, and the different levels of z. The values under > the different levels of

[R] Reporting with down and across variables

2008-09-17 Thread Matthew Pettis
Hi, I have a dataframe like the following: xfact yfact zfact response --- --- --- -- x1 y1 z1 r1 x1 y1 z2 r2 ... I want output that looks like: ___ zfac levels___ xfact yfact z1 z2 ... zn ---