Hi,
May be this helps:
dat<- read.table(text="
Date,Parameter,Weight
2012-01-31,90,200
2012-01-31,80,400
2012-01-31,70,500
2012-01-31,60,800
2012-02-29,120,220
2012-02-29,110,410
2012-02-29,75,520
2012-02-29,65,840
2012-03-31,115,210
2012-03-31,100,405
2012-03-31,70,500
2012-03-31,60,800
",sep=",",
On May 17, 2013, at 11:48 AM, Chirag Maru wrote:
> I have following data for which I need to calculate the weighted aggregate
> value of the parameter at each time.
>
> Date,Parameter,Weight
> 2012-01-31,90,200
> 2012-01-31,80,400
> 2012-01-31,70,500
> 2012-01-31,60,800
> 2012-02-29,120,220
> 2
2 matches
Mail list logo