Re: [R] reducing data.frame

2010-02-25 Thread John Kane
Perhaps the reshape package? It's just about impossible to read your data layout. Could you resubmit the example using dput()? Thanks --- On Thu, 2/25/10, AC Del Re de...@wisc.edu wrote: From: AC Del Re de...@wisc.edu Subject: [R] reducing data.frame To: r-help@r-project.org Received

[R] reducing data.frame

2010-02-24 Thread AC Del Re
Hi All, Is there an easy way to reduce a data.frame to 1 'id' per row while keeping information from the other rows of that same variable, if applicable? e.g.: # data multi[1:15,] id r n wi wi.tau z k alliance a.rater eml treatment outcome o.rater german 1 100