[R] How to aggregate the dataset?

2012-12-13 Thread Tammy Ma
HI, I want to transform the following dataset Product Price_LC.1 Price_LC.2 Price_elasticity.1 Price_elasticity.2 Mean_Price Mean_Price_elasticity Trade_Price_Band Country 100 35 52 -4.14 -2.84 47 -3.69

[R] how to aggregate the dataset

2012-12-13 Thread Tammy Ma
HI, Sorry for messing up.. I want to transform the following dataset: product min_price max_price mean_price country price_band 11 34 50 40 VN 0-300 22 10 30 15 VN 0-300 Into:

Re: [R] how to aggregate the dataset

2012-12-13 Thread Tammy Ma
this in r? Kind regards, Tammy From: metal_lical...@live.com To: metal_lical...@live.com Subject: RE: [R] how to aggregate the dataset Date: Thu, 13 Dec 2012 14:22:54 +0300 HI, I want it looks like this: Into: product VN price_band 11 40

Re: [R] how to aggregate the dataset

2012-12-13 Thread Rui Barradas
[10,30] How Can I do this in r? Kind regards, Tammy From: metal_lical...@live.com To: metal_lical...@live.com Subject: RE: [R] how to aggregate the dataset Date: Thu, 13 Dec 2012 14:22:54 +0300 HI, I want it looks like this: Into: product VN

Re: [R] how to aggregate the dataset

2012-12-13 Thread arun
] A.K. - Original Message - From: Tammy Ma metal_lical...@live.com To: r-help@r-project.org r-help@r-project.org Cc: Sent: Thursday, December 13, 2012 5:42 AM Subject: [R] how to aggregate the dataset HI, Sorry for messing up.. I want to transform the following dataset: product