Re: [R] Elegant way to transform dataframe?

2008-11-23 Thread Barry Rountree
Original message >Date: Thu, 20 Nov 2008 09:41:11 +0100 >From: "David Hajage" <[EMAIL PROTECTED]> >Subject: Re: [R] Elegant way to transform dataframe? >To: "Barry Rountree" <[EMAIL PROTECTED]> > > I suggest you to have a look to

[R] Elegant way to transform dataframe?

2008-11-20 Thread Barry Rountree
Hello, I have a dataframe with columns like: parameter1 parameter2 metricname value and I'd like to transform it into a dataframe with columns: parameter1 parameter2 metric1 metric2 metric3 where the values for each metric would be in the appropriate column. There are often multiple valu